discord-api-docs
discord-api-docs copied to clipboard
User-created webhooks can no longer use custom emojis from other guilds
Description
Webhooks don't render custom emojis in their messages if they aren't from the same guild. This change seems recent, showed up in the past 24 hours.
Steps to Reproduce
Create a webhook in a guild execute the created webhook with an emoji from a different guild
Curl requests for creating the webhook have not been provided as authorisation is with a user token.
I used discohook to execute the webhook, rather than manual execution, copyable here.
Expected Behavior
The webhook message properly renders the emoji.
Current Behavior
The webhook message does not render the emoji.
Screenshots/Videos
Client and System Information
any
I screwed this up when testing user created webhooks, forgot the use external emojis permission. Leaving this open because the documentation should probably specify this permission applies to webhooks but it doesn't: https://discord.com/developers/docs/resources/webhook#execute-webhook