Discord icon

Discord

Interact with Discord API - users, messages, webhooks, guilds, interactions, and more

Actions193

Emoji → Create Guild Emoji

AI-generated

Summary

Creates a custom emoji in a Discord guild from an image URL, data URI, or input binary property. Optionally restricts which roles can use it and adds other Discord emoji fields through Raw JSON.

Inputs

  • Authentication — Choose Bot Token (default) or OAuth2 (User Token).
  • Guild (required) — Discord guild ID where the emoji will be created.
  • Name — Emoji name.
  • Image — Image as a base64 data URI or HTTP(S) URL. Discord supports PNG, JPEG, and GIF up to 256 KiB. Ignored when Binary Property is set.
  • Binary Property — Name of the incoming item’s binary property containing the image. When set, the image is converted to a data URI and takes precedence over Image.
  • Role IDs — Comma-separated role IDs allowed to use the emoji.
  • Raw JSON — Additional Discord emoji request body fields; values override simple fields with matching keys.
  • Audit Log Reason — Reason recorded in the guild audit log; Discord limits it to 512 characters.
  • Request Options — Optional request controls for batching, SSL certificate validation, proxy, and timeout.

Output shape

A single Discord API response record describing the created guild emoji.

The operation sends a create-guild-emoji request. The actual response fields depend on Discord’s API response.

Links

Discussion