title: Modify Guild Emoji category: Emoji
modifyGuildEmoji
$client->emoji->modifyGuildEmoji($parameters);
Modify the given emoji. Requires the 'MANAGE_EMOJIS' permission. Fires a Guild Emojis Update Gateway event.
Name | Type | Required | Default |
---|---|---|---|
guild.id | snowflake | true | null |
emoji.id | string | true | null |
name | string | false | null |
roles | array | false | null |
Returns the updated emoji object on success.
Can Return: