Skip to content

emojis_modify

Category: emojis

Update a guild emoji’s name and/or role restrictions.

  • Rename an emoji; restrict to a role tier.
  • Replacing the image — Discord does not allow editing emoji bytes; create a new one and delete the old.
FieldTypeRequiredDescription
guild_idstringyesGuild owning the emoji
emoji_idstringyesEmoji to modify
namestringnoNew name (2-32 chars)
rolesarraynoReplacement role list (empty array = everyone)
audit_reasonstringnoReason recorded in audit log (X-Audit-Log-Reason header)

\{id, name, animated, roles\}.

FieldTypeRequiredDescription
idunknownyes
nameunknownyes
animatedbooleanyes
rolesarrayyes
PropertyValue
Read-onlyno
Destructiveno
Idempotentyes
Open-worldyes
Confirmation requiredno

packages/mcp-core/src/tools/emojis/modify.ts