how would i check if a certain post in a forum has a certain label and then close that post if it do
^
9 Replies
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
ok, do i need to check if the channel is a forum channel?
and how do i close it
thats code
GuildForumThreadManager#fetchActive()
Obtains all active thread channels in the guild. This internally calls GuildChannelManager#fetchActiveThreads().
wdym .threads.forEach
unstead of active Threads?
ok
thanks
got this, nothing is happening when i add the tag
oh ill just make it an array then
ok thanks, sorry i didnt know it was array
do i need to the tag ID or just the name?
figured it out
now I have this, but when the tag isnt on a post it will do it
In JavaScript, = is used for assignment, == for loose equality, and === for strict equality checks.
• Equality and sameness in JavaScript: learn more
oh