$modifyEmoji
$modifyEmoji will modify a given custom emoji.
Usage
$modifyEmoji[guildID;emojiID;name;...roles?]Parameters
| Field | Type | Description | Required |
|---|---|---|---|
| guildID | number | The ID of the guild of where the emoji is located in. | true |
| emojiID | number | The Emoji ID. | true |
| name | string | The new emoji name. | true |
| …roles? | number | Roles that will be able to use that emoji. | false |
Example(s)
This will edit a existing emoji / change its name to “Example”:
1client.command({2 name: "modifyEmoji",3 code: `4 $modifyEmoji[$guildID;emojiID;Example]5 `6});