Skip to content
Entity Info roleIntColor

$roleIntColor — Returns the role color as int.

Returns the role color as int.

Syntax

$roleIntColor[guildID;roleID;(color)]

Parameters

  • guildID (id, required) — The guild to pull the role from
  • roleID (id, required) — The role to return its color
  • color (text, optional) — The role color to return

Return Value

  • Color.

Usage

$roleIntColor[guildID;roleID;(color)] → result

Example

$sendMessage[$roleIntColor[10;71]]

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.