Skip to content

Fix raw Emoji ID resolution

Compare
Choose a tag to compare
@Mimickal Mimickal released this 30 Apr 18:19
· 69 commits to master since this release
54a613e

Attention: This is the most recent release that supports discord.js v13!

Options.getEmoji(...) was not properly resolving GuildEmoji from raw ID strings. It was, instead, returning the raw ID as a string, which newer versions of Discord.js doesn't play nice with. It now returns a GuildEmoji object when emojis are specified as raw Discord IDs.

Apologies to my TypeScript friends who are probably crying right now.