Skip to content
Moderation addApplicationEmoji

$addApplicationEmoji — Adds an application emoji, returns the emoji id

Adds an application emoji, returns the emoji id

Syntax

$addApplicationEmoji[name;url;(returnemojiID)]

Parameters

  • name (text, required) — The name for the emoji
  • url (text, required) — The emoji icon to use
  • returnemojiID (id, optional) — Whether to return the emoji id

Return Value

  • ApplicationEmoji.

Usage

$addApplicationEmoji[name;url;(returnemojiID)] → result

Example

$addApplicationEmoji[logo2;$message[value]]

The value passed ($message[value]) must be a data URI such as data:image/png;base64,...: the function does not download web addresses.

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.