discord-api-docs icon indicating copy to clipboard operation
discord-api-docs copied to clipboard

User-created webhooks can no longer use custom emojis from other guilds

Open onerandomusername opened this issue 1 year ago • 1 comments

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

image

Client and System Information

any

onerandomusername avatar Aug 04 '22 02:08 onerandomusername

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

onerandomusername avatar Aug 04 '22 02:08 onerandomusername