discord_delete_emoji
Permanently deletes a custom emoji from a Discord server, removing its image and causing all messages that used it to display an unknown emoji. Requires Manage Expressions permission.
Instructions
Delete a custom emoji. IRREVERSIBLE: the image is gone and every message that used :name: shows as an unknown emoji from then on. Requires Manage Expressions. Managed emojis (created by an integration) cannot be deleted by a bot and Discord will reject the call. Returns the deleted emoji's name.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reason | No | Optional reason recorded in the audit log. | |
| emoji_id | Yes | ID of the emoji to delete. | |
| guild_id | Yes | Discord server (guild) ID (snowflake). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| deleted | Yes |