How to use Custom Emojis in Buttons and Embeds

How can I use some custom emojis in buttons and embeds that I create ? like the ones in the photos. Do I have to upload an emoji in the developer portal, then I can use it or something like that ?
No description
No description
No description
10 Replies
d.js toolkit
d.js toolkit5w ago
d.js docs
d.js docs5w ago
:method: ButtonBuilder#setEmoji() discord.js@14.22.1 Sets the emoji to display on this button
official_troller
.setEmoji({id: 'emoji_id'}) i believe it was
Ghost
GhostOP5w ago
so from what I understood, I have to upload an emoji in a home server ( a emoji storage server for example ) then I can call that emoji using <:emojiName:id> for example right ?
official_troller
No, you upload on the site you showed your emoji you want the bot to have and then can copy the id
b3ssel
b3ssel5w ago
you can now upload app-only emoji’s on the dev portal see the “Emoji” tab for that
Ghost
GhostOP5w ago
when I upload an emoji in the dev portal, then my bot can use it in embeds, buttons, etc..? or it can use it only in specific scenarios ?
b3ssel
b3ssel5w ago
your bot can use it on any message they send and your bot is the only user that can use those emojis so you don’t need to make a server just for the emojis + the app emoji limit is 2000 emojis on the dev portal
Ghost
GhostOP5w ago
oh I see, thanks, that answered my question
d.js toolkit
d.js toolkit5w ago
The thread owner has marked this issue as solved.

Did you find this page helpful?