how define emojis in discord.js code example
Example 1: how to define emojis from your server in discord.js
var Emoji = message.guild.emojis.cache.find(emoji => emoji.name === 'NAME_OF_YOUR_EMOJI')
//how to use them?
// for exaple:
message.reply(`${Emoji}`);
Example 2: discord.js emoji
// Do you know the name of the emoji? if so, you can simply do this:
message.channel.send("<:emoji name:emoji id>")
// If not, you could possibly do,
const emoji = bot.emojis.cache.get("emoji id")
message.channel.send(`${emoji}`
//I assume the emoji has to be cached for the method above to work,
// i'm sure someone else could brew up a better solution. Hope i could help!