$modifyEmoji
Modifies an existing emoji in the current or defined guild.

FUNCTION USAGE

  • $modifyEmoji[guildID;emoji;name]
  • $modifyEmoji[guildID;emoji;name;roleID;roleID;etc....]

Properties:

guildID - Defines specific guild for the bot to modify emoji. emoji - Define an emoji with its ID to modify it. name - The new name of the emoji. roleID - Optionally define roles by their ID's. Only these role(s) will have access to use the modified emoji. Separate with commas.

Example 1: Modify an emoji name.

1
bot.Command({
2
name: "test",
3
code: `
4
$modifyEmoji[$guildID;<:deepfried_laugh:763474115255336972>;LAUGHING]
5
`
6
})
Copied!

Example 2: Modify an emoji name and restrict the emoji to only 1 role.

1
bot.Command({
2
name: "test",
3
code: `
4
$modifyEmoji[$guildID;<:deepfried_laugh:763474115255336972>;LAUGHING;236594367923757935]
5
`
6
})
Copied!
Last modified 4mo ago
Copy link
Contents
Properties: