TrustyJAID/Trusty-cogs

[roletools] — Bot Emojis Support

Opened this issue · 1 comments

Like the title says a way to support the new discord feature of Bot Emojis to use them for role emojis in buttons or dropdowns.

This will require waiting until discord.py has a release that supports them. As of right now those new emojis will require a fetch call for the bot to even see them, they're not given in any gateway event like server emojis. I don't know what discord.py plans to do about caching them yet, that's still being discussed in bikeshedding in the discord.py server. Presumably when that all happens you will likely be able to just use the emoji ID in any existing commands and the bot will find the appropriate emoji from that requiring little to no changes on my part.