$deleteEmojis
Deletes one or more emojis separated by a semicolon. Provide the custom emoji(s) from the server where the command is executed to delete.

FUNCTION USAGE

  • $deleteEmojis[emoji]
  • $deleteEmojis[emoji;emoji;emoji;...etc]

Properties:

emoji - Provide the custom emoji to delete.
Will not work with emoji IDs but you can use other functions to get the emoji from the emoji ID to make execution easier.

Example 1: Deletes an emoji from the server. Supply the custom emoji.

1
bot.Command({
2
name: "delete",
3
code: `
4
$deleteEmojis[$message[]]
5
`
6
})
Copied!

Example 2: Deletes 3 emojis at a time from the server. Supply the custom emojis.

1
bot.Command({
2
name: "delete",
3
code: `
4
$deleteEmojis[$message[1];$message[2];$message[3]]
5
`
6
})
Copied!
Last modified 5mo ago
Copy link
Contents
Properties: