create_emoji
Upload a custom Discord emoji from an image URL or base64 data URI, set role restrictions, and add an audit reason for server moderation.
Instructions
Upload a new custom emoji to the server from an image URL or base64 data URI (max 256KB)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Emoji name (alphanumeric and underscores) | |
| reason | No | Audit log reason | |
| guildId | No | Discord server ID (defaults to DISCORD_GUILD_ID) | |
| rolesCsv | No | Comma-separated role IDs permitted to use emoji | |
| attachmentUrlOrBase64 | Yes | Direct image URL or base64 data URI (e.g. data:image/png;base64,...) |