Emojis on SelectMenu

Hello, I'm trying to put an emoji in my select menu (.setEmoji) but it doesn't work. Can someone please help me? Here is the order code: (I searched on the discord but didn't find the answer) I try
- robot
- :robot
- robot:
- :robot:
- <:robot:>
- robot
- :robot
- robot:
- :robot:
- <:robot:>
9 Replies
d.js toolkit
d.js toolkit16mo ago
- 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!
d.js docs
d.js docs16mo ago
- Custom emojis: \:name:<a:name:id> - Twemojis: \:name: ➞ unicode representation - Emoji picker: WIN + . / CMD + CTRL + SPACE / CTRL + . - Right-clicking any emoji will not copy its id!
Skully
SkullyOP16mo ago
Excuse me, but which one is discord's default emoji?
edocsil
edocsil16mo ago
Twemojis
Skully
SkullyOP16mo ago
I have this error with 🤖 DiscordAPIError[50035]: Invalid Form Body data.components[0].components[0].options[0].emoji.name[BUTTON_COMPONENT_INVALID_EMOJI]: Invalid emoji at handleErrors (C:\Users\quen0\Downloads\discord-bot\node_modules\@discordjs\rest\dist\index.js:687:13) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async BurstHandler.runRequest (C:\Users\quen0\Downloads\discord-bot\node_modules\@discordjs\rest\dist\index.js:786:23) at async _REST.request (C:\Users\quen0\Downloads\discord-bot\node_modules\@discordjs\rest\dist\index.js:1218:22) at async ChatInputCommandInteraction.reply (C:\Users\quen0\Downloads\discord-bot\node_modules\discord.js\src\structures\interfaces\InteractionResponses.js:111:5) at async Object.execute (C:\Users\quen0\Downloads\discord-bot\commands\help.js:38:9) at async Client.<anonymous> (C:\Users\quen0\Downloads\discord-bot\index.js:30:3) { requestBody: { files: [], json: { type: 4, data: [Object] } }, rawError: { message: 'Invalid Form Body', code: 50035, errors: { data: [Object] } }, code: 50035, status: 400, method: 'POST', url: 'https://discord.com/api/v10/interactions/1136754021852512328/aW50ZXJhY3Rpb246MTEzNjc1NDAyMTg1MjUxMjMyODpJdHdFQ3JQYWwxWnVCZ2hLUEtnRUZGUjlsS1R3VnpwcjZURkluWUtkUW1GWjA1d3l2REd3ZUxBUlB6aU9TeUNJcnlEMEJDWHJ6ZHI2UUs3OTV1eE5nTlRJUXFkN0t6b0hvZldjM21qOEt3NXA2SUNpQ3VxUFdPb0pZY1pXb0RZQQ/callback' }
Skully
SkullyOP16mo ago
treble/luna
treble/luna16mo ago
... copy it type \:emote: to get the unicode like 🤖 then copy that
edocsil
edocsil16mo ago
The value should literally be '🤖'
Skully
SkullyOP16mo ago
Okay, it works! I hadn't understood your message like that x) Thanks for your time and help 🙂
Want results from more Discord servers?
Add your server