Internal Unicode Emoji Store is Out of Date
Created by: murl-digital
Summary
Recently Unicode updated to version 13 (see here), which includes new emojis which have already been added to Discord. These changes have not been reflected in DSharpPlus
Details
Looking at the file in question, the new emojis are missing (e.g :blueberries: or :smiling_face_with_tear:). This is an issue if you're working with emoji with commands, as argument conversion will fail and the command won't execute.
Steps to reproduce
- Set up a basic bot with a test command like so:
public class TestCommand : BaseCommandModule
{
[Command("test")]
public Task Test(CommandContext ctx, DiscordEmoji emoji)
{
Console.WriteLine(emoji.Name);
return Task.CompletedTask;
}
}
- Run the bot and use a new emoji (e.g :blueberries:)
- The command shouldn't execute
Notes
I was having this issue with the latest nightly build