Adding new tag to forum channel
The tag is added, with the name correctly set, but the emoji is missing.
Here's my code:
13 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!
- ✅
Marked as resolved by OPI don't get any error in the console, by the way!
Trying to directly put the emoji with the brackets in the 'emoji:' field didn't work.
it seems the
emoji
property expects a GuildForumTagEmoji
object and doesn't resolve emoji identifiers for you like some other emoji fieldsThen what should I put in the code instead please? I want to use this exact emoji: ❗
since this is a unicode emoji, a
{ name }
objectI'm confused, would that work?
if
exclamation
is ❗ , sureLet me try
It is on Discord I think
I meant literally if the variable named
exclamation
has a value of ❗
that is the name of the emoji, yesYeah, this worked:
Thank you for your help @duck
I'll close the post now