Dropdown emojis

Heyo so im trying to add emojis onto my dropdown menus for the selections, doing it the way i was told to / showed how and it just isnt working..? any suggestions?
18 Replies
d.js docs
d.js docs3y ago
• 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.
chewie
chewie3y ago
is that supposed to be a select menu option?
ImSkylar
ImSkylarOP3y ago
Yes Im just trying to figure out why the emoji wont work on it
chewie
chewie3y ago
its emoji and expects an object with name, id and animated if it is
ImSkylar
ImSkylarOP3y ago
its not development
chewie
chewie3y ago
if it is
ImSkylar
ImSkylarOP3y ago
Well yeah so how do i get it to work from that point ?
chewie
chewie3y ago
ImSkylar
ImSkylarOP3y ago
so i need to change the emote to emoji
chewie
chewie3y ago
yes
ImSkylar
ImSkylarOP3y ago
then that would be correct? emoji: "<:development:1013129120223350846>"
ImSkylar
ImSkylarOP3y ago
Im looking at that but i still dont follow.
chewie
chewie3y ago
you have to pass an object containing the properties shown in the linked page
ImSkylar
ImSkylarOP3y ago
ID:Name ?
lupus
lupus3y ago
An object is something like {property: value}. So instead of a string, pass an object with the properties (found in the link above) and their values
ImSkylar
ImSkylarOP3y ago
Honestly I dont understand what is ment by object i just got told you put the emojis in like that development
chewie
chewie3y ago
Then please brush up on your JS knowledge, making a bot isnt a beginner task. #rules 2 #resources

Did you find this page helpful?