$setEmojiName
Sets a new name of an emoji in the defined guild.

FUNCTION USAGE

  • $setEmojiName[guildID;emojiID;name]

Properties:

emojiID - Supply the emoji ID you're changing the name of. guildID - The ID of the guild that holds the emoji you're changing the name of. name - The new name for the emoji.
Example 1: Changes the name of an emoji using the ID.
1
bot.Command({
2
name: "change",
3
code: `
4
$setEmojiName[$message[1];$message[2]]
5
`
6
})
Copied!
Example 2: Changes the name of an emoji using the actual emoji.
1
bot.Command({
2
name: "change",
3
code: `
4
$setEmojiName[$emojiToID[$message[1]];$message[2]]
5
`
6
})
Copied!
Last modified 4mo ago
Copy link
Contents
Properties: