Skip to content
Entity Info roleEditable

$roleEditable — Returns whether the role is editable by the bot

Returns whether the role is editable by the bot

Syntax

$roleEditable[guildID;roleID]

Parameters

  • guildID (id, required) — The guild to pull the role from
  • roleID (id, required) — The role to return its editable state

Return Value

  • Boolean.

Usage

$roleEditable[guildID;roleID] → result

Example

$sendMessage[$roleEditable[10;70]]

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.