Skip to main content
discord.createEmoji create a custom emoji in a Discord server.
automations/discord-create-emoji.automation.ts

Inputs

Required guildId, 2–32 character alphanumeric/underscore name, and image data URI. Optional roleIds and audit-log reason. Optional second argument { account } selects the Discord binding.

Output

Returns the created DiscordEmoji.

Discord behavior

Requires CREATE_GUILD_EXPRESSIONS; size, format, animation, and server emoji limits apply.