Forum thread tag not working
Why doesn't my bot add the tag to the forum thread?
17 Replies
- What's your exact discord.js
npm list discord.js
and node node -v
version?
- Post the full error stack trace, not just the top part!
- Show your code!
- Explain what exactly your issue is.
- Not a discord.js issue? Check out #useful-servers.whats tag
log it
the id of the tag
1127349012996051075
it logged 1127349012996051075
and it should work like that, right?
If it's a string yeah. Find the tag from the forum
availableTags
and log it to make sure it's validyes, it is a string
Yeah, I did that to get the id of the tag
Can you please log and show it to confirm it's still valid?
Sure, one sec please
Also what is it doing? Creating the post but without any tags?
Yeah
Everything is correct but it doesn't apply the tag
Here's the code with the logs:
And that's what gets logged:
When I run this, the tagObject is undefined
Then there's no tag with that ID in the forum channel
console.log(channel.availableTags)
But it shows up:
huh
the tag id changed
can it change by itself?
Copied the wrong thing or it was deleted and recreated
Ohh, thank you very much!