$roleExists

Returns whether or not the provided ID is an actual role.

🧙‍♂️ “true” means the role exists, “false” means it doesn’t.

Syntax

$roleExists[Role ID]

Parameters

  • Role ID (Type: Snowflake, String || Flag: Emptiable): The role to check for.

Examples

Example #1

$nomention
$roleExists[1239039039030939]
$c[This role doesn't exist!]

example1

Example #2

$nomention
$roleExists[858334189899087943]
$c[This role exists!]

example2