Forum tags - Create a new tag if not exists
I try to create a new tags in a forum if the tag exists:
But it seems that the absence of id leads to an error:
But I don't know how to set an ID when creating a new tags?
2 Replies
- What's your exact discord.js
npm list discord.js
and node node -v
version?
- Not a discord.js issue? Check out #other-js-ts.
- Consider reading #how-to-get-help to improve your question!
- Explain what exactly your issue is.
- Post the full error stack trace, not just the top part!
- Show your code!
- Issue solved? Press the button!Note: At the tags is created, I think it's just that
availableTags
is different from forum.avalableTags
after the setAvailableTags