Forum Post Tags

what i am trying to find is when a thread post is created i am trying to find what tag it has and if it has the tag i want i can execute some code this is the code i have right now but i cant it it to check for the tags a forum post has
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")
{

}
}
})
3 Replies
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
Zickles
ZicklesOP2y ago
14.7.1 and v17.8.0
d.js docs
d.js docs2y ago
property ThreadChannel#appliedTags The tags applied to this thread
Want results from more Discord servers?
Add your server