const inactiveThreads = await threadchl.threads.fetchArchived() inactiveThreads.threads.forEach(async (thread) => { if (!thread.archived) { await thread.send('This thread has been reopened. Please use </get-help:1084975333968707685>') } })
const inactiveThreads = await threadchl.threads.fetchArchived() inactiveThreads.threads.forEach(async (thread) => { if (!thread.archived) { await thread.send('This thread has been reopened. Please use </get-help:1084975333968707685>') } })
i got this but message dont send if i send a message in a closed post making it active agian, using threadUpdate event. im trying to have it send the message if a closed thread is reopened