So I was working on a discord.js server info command. So I had an idea, of showing the emojis that are in a server, though I don’t know how to do that. I do know how to get the amount of emojis, but I’m not sure how to get the emojis.
Advertisement
Answer
JavaScript
x
3
1
const emoji = message.guild.emojis.cache.array();
2
message.channel.send(emoji);
3