Get Default Emojis

For a bot I am working on with a dashboard, I need to make an emoji selector for the reaction roles section and I need to include the default (Unicode) emojis. For the guild ones, I can just use guild.emojis.cache, but how would I get the default emojis? Ideally I'd like their name and image, but right now I can't think of any place to start.
3 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.
crawl
crawl3y ago
npm
@discordapp/twemoji
A Unicode standard based way to implement emoji across all platforms.. Latest version: 14.0.2, last published: 3 months ago. Start using @discordapp/twemoji in your project by running npm i @discordapp/twemoji. There are no other projects in the npm registry using @discordapp/twemoji.
HyperNeutrino
HyperNeutrinoOP3y ago
Thanks, looks promising. I'm having trouble figuring out how to fetch all emojis though - the documentation shows how to convert text with emojis in it into valid HTML to display the emojis Twitter-style but I can't find a list (I don't really need the names because I can just send the unicode emoji when adding the reactions / creating the buttons, though it would be nice to have them for the user to be able to search)
Want results from more Discord servers?
Add your server