How can I add tag to discord forum using djs.
Hello I am creating forums with but I wanna add tags.
16 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!like this one
using using djs
my code :
man this is killing me
any example of it?
I believe you should use this method on forumchannel object and as a parameter, you should give an array with objects representing tags
so this should work
You misspelled it btw in that example
yooooo thanks man it woked
thanks, corrected
Glad to hear that
Documentation is so powerful, so I suggest you to learn how to use it
as a side note since this is happening at the time of channel creation, you could also just pass this array to the
availableTags
option of <GuildChannelManager>.create()
I was trying to set tags but snowflake is required
how can I get one from available tags
and for some reason emoji is not working in tags
the id shouldn't be required
is it that you're receiving an error?
care to share your code?
if you want specified one, just make something like:
id snowflake shouldn't be required. If you are receiving any error, please provide it here
cause I made a mistake, I fixed my exaple and now emoji should appear
I imagine they already solved the issue with the emoji here #How can I get emoji ID?
You're probably right 😅