Skip to content
Moderation emojiRoles

$emojiRoles — Returns the role ids that can use this emote.

Returns the role ids that can use this emote.

Syntax

$emojiRoles[emojiID;(separator)]

Parameters

  • emojiID (id, required) — The emoji to return its roles
  • separator (text, optional) — The separator to use for every role

Return Value

  • Role[].

Usage

$emojiRoles[emojiID;(separator)] → result

Example

$sendMessage[$emojiRoles[70001;,]]

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.