List Bans

This command (emoji edit) will an edit an emoji, given its ID.

Permissions

Bot Permissions

  • The bot must have the MANAGE_GUILD_EXPRESSIONS permission.

Parameters

id

Required. The ID of the emoji to edit.

name

Optional. The new name of the emoji. If left blank, the emoji's name will not be edited.

roles

Optional. A space-separated list of roles that are permitted to use the emoji. Note that this functionality is not exposed in the Discord client and may lead to unintended consequences.

reason

Optional. The reason for the edit. This is stored in Discord's internal audit log.

ephemeral

Optional. Whether other server members should be able to see the bot's response. Does not affect logging.