Set a Discord's Default Emoji in a ButtonBuilder
Hi, I'm trying to set this discord's default emoji in the method setEmoji in a ButtonBuilder, but when sending the component in a reply the error of invalid emoji is shown. As I see I cannot put the emoji's name in the method and I have to put the character given in
\:name:
anyone know how I can set the emoji by it's name?4 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 OPYeah but I wanted a way that omits the Unicode representation only having the name.
there is no means of doing that
you need to put the unicode representation of the emoji
All right, I'll do that thanks