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 toolkit3mo ago
d.js docs
d.js docs3mo 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
GhostOP3mo 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
b3ssel3mo ago
you can now upload app-only emoji’s on the dev portal see the “Emoji” tab for that
Ghost
GhostOP3mo 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
b3ssel3mo 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
GhostOP3mo ago
oh I see, thanks, that answered my question
d.js toolkit
d.js toolkit3mo ago
The thread owner has marked this issue as solved.

Did you find this page helpful?