Button Image
Hello,
Is there a way to add an emoji to the button like so:
I've been searching for quite a bit on this discord, websites and docs, but I just couldn't find any valuable information that helped me.
Any help would be really appreciated, thank you!
Piece of code:

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!
- ✅
Marked as resolved by OPI tried the too. No luck unfortunately :/
Unknown User•4mo ago
Message Not Public
Sign In & Join Server To View
Right, but of course that pokeball is a custom emoji. I tried adding a custom image to the Emojis of my bot and set that as the ID. That also didn't work.
Unknown User•4mo ago
Message Not Public
Sign In & Join Server To View
I uploaded the emoji to my bot. Then I used the emoji ID to the code.


Unknown User•4mo ago
Message Not Public
Sign In & Join Server To View

No emoji 😦
Unknown User•4mo ago
Message Not Public
Sign In & Join Server To View
Just tried this now. Still the same result.

Unknown User•4mo ago
Message Not Public
Sign In & Join Server To View
Oh my days. It's my bad. I was calling the code from a different place 🤦♂️ Time to go to sleep.
So sorry for taking your time @sïř.jõ 🌈 and I really really appreciate your quick and helpful replies! 💪
Unknown User•4mo ago
Message Not Public
Sign In & Join Server To View
But it does work now
