Skip to content

Bot-owned webhooks can't send emoji's from servers the bot is not a member of #5357

@AroLeaf

Description

@AroLeaf

Description

This issue is similar to #5319, but applies to webhooks created by the bot itself, not part of the interaction system.

  • External emojis still work with user-created webhooks.
  • It's not because of a bot token also being sent, I've tested without bot too.
  • Edit: It's not permissions, the bot has admin perms, and I also gave it explicit external emoji perms, and it still didn't work,

Steps to Reproduce

Have a bot account:

  • Create a webhook.
  • Send a message with that webhook containing an emoji from a server the bot is not a member of.

Expected Behavior

I expect to see an emoji.

Current Behavior

I see the name of the emoji surrounded by colons (example: :idontworkanymore:).

Screenshots/Videos

No response

Client and System Information

  • The client used to view the message doesn't matter, as the data returned from the API already contains the :emojiname: instead of the full emoji mention.
  • I tested using both discord.js and browser fetch requests from my own webhook website, both with user-created and bot-created webhooks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions