Skip to content
Moderation editRoleName

$editRoleName — Edits a role’s name, returns boolean.

Edits a role's name, returns boolean.

Syntax

$editRoleName[guildID;roleID;name]

Parameters

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

Return Value

  • Boolean.

Usage

$editRoleName[guildID;roleID;name] → result

Example

$sendMessage[$editRoleName[10;70;Mods]]

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.