Skip to content
Moderation editRolePosition

$editRolePosition — Edits a role’s position, returns boolean.

Edits a role's position, returns boolean.

Syntax

$editRolePosition[guildID;roleID;position]

Parameters

  • guildID (id, required) — The guild to pull the role from
  • roleID (id, required) — The role to edit position for
  • position (number, required) — The new position for the role

Return Value

  • Boolean.

Usage

$editRolePosition[guildID;roleID;position] → result

Example

$sendMessage[$editRolePosition[10;70;3]]

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.