Skip to content
Variables deleteRoleVar

$deleteRoleVar — Deletes the value stored for a role (it reads as the default again).

Deletes the value stored for a role (it reads as the default again).

Syntax

$deleteRoleVar[name;roleID]

Parameters

  • name (String, required) — Variable name
  • roleID (String, required) — Role ID

Return Value

  • String.

Usage

$deleteRoleVar[name;roleID] → result

Example

$sendMessage[$deleteRoleVar[name;roleID]]

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.