discord.createEmoji create a custom emoji in a Discord server.
automations/discord-create-emoji.automation.ts
Inputs
RequiredguildId, 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 createdDiscordEmoji.
Discord behavior
RequiresCREATE_GUILD_EXPRESSIONS; size, format, animation, and server emoji limits apply.