#Yet another custom emojis in embed question

4 messages · Page 1 of 1 (latest)

eternal yew
#

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?

upbeat vaporBOT
#

• What's your exact discord.js npm list discord.js and node node -v version?
• Post the full error stack trace, not just the top part!
• Show your code!
• Explain what exactly your issue is.
• Not a discord.js issue? Check out #useful-servers.

graceful acorn
#

That would be a question more suitable for ddevs since it does indeed look like a bug in discord.
Assuming those two screenshots are from the same bot, same guild, same permissions and only differ in followUp/reply

eternal yew
#

yup, that's exactly right. I'll post a question there, thanks for the help!