Skip to content
Moderation deleteEmojis

$deleteEmojis — Deletes given emojis from a guild, returns the count of emotes deleted.

Deletes given emojis from a guild, returns the count of emotes deleted.

Syntax

$deleteEmojis[guildID;emojis]

Parameters

  • guildID (id, required) — The guild to delete emotes from. Leave it empty for the current server
  • emojis (text, required) — The emojis to delete: an ID, the emoji itself (<:name:id>) or its name. An unknown name is an error (Unknown emoji <name>.)

Return Value

  • Number.

Usage

$deleteEmojis[guildID;emojis] → result

Example

$sendMessage[$deleteEmojis[10;70001;70002]]

Try it

Paste an example into the playground to preview its message (functions that act on Discord are not run), or build the same thing with blocks.