Hello all,
I'm trying to use custom emojis in embeds, in the response to slash commands.
From what I understand, when the bot is replying to a slash command, it is not in fact the bot user replying, but a sort of webhook disguising as the bot. This means that any roles the bot has don't apply, including the "use external emojis" permission. It needs to be given to the @ everyone role instead, since the webhook isn't part of the server.
However, thanks to a recent discord change, this is no longer the case. Now, any external emojis the bot uses are rendered if the bot has the right permissions, in theory.
That being said, while testing, I have noticed this is only the case when using .reply() on the command interaction. If instead I .defer() and then .followUp(), the custom emojis don't render.
This doesn't seem intuitive. Is this intentional by discord, or am I doing something wrong?