client.on('threadCreate', async (thread) => {
if (thread.type == ChannelType.GuildPublicThread) {
console.log("thread created");
// When a new forum post is created
if(thread.parentId == "1056002480313479188")
{
}
}
})
client.on('threadCreate', async (thread) => {
if (thread.type == ChannelType.GuildPublicThread) {
console.log("thread created");
// When a new forum post is created
if(thread.parentId == "1056002480313479188")
{
}
}
})