Add custom emoji to button
I get
id is not defined
error when adding a custom emoji to a button.
Please help9 Replies
• What's your exact discord.js
npm list discord.js
and node node -v
version?
• Post the full error stack trace, not just the top part!
• Show your code!
• Explain what exactly your issue is.
• Not a discord.js issue? Check out #useful-servers.try just using
.setEmoji("102...")
or .setEmoji({ id: "102.." })
if the first doesnt workDoesn't work :(
Could it be because i am using
Well then, not the correct emoji id
no
Yeah thats probably the message ID
• 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!ooo
that worked!
tysm