Create emoji
create_emojiUpload custom emoji to a Discord server using a URL or base64 image. Restrict emoji to specific roles for controlled usage.
Instructions
Upload a new custom emoji from a URL or base64-encoded image. Requires Manage Expressions permission.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Emoji name (2-32 characters, alphanumeric and underscores only). | |
| image | Yes | Image source — a public URL (https://...) or a base64 data URI (data:image/png;base64,...). PNG, JPG, GIF (animated) supported. Max 256 KB. | |
| roles | No | Restrict this emoji to specific roles (names or ids). Omit to allow all roles. | |
| server | No | Server (guild) name or id. Optional when the bot is in a single server or DISCORD_GUILD_ID is set. |