$roleExists

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

🧙‍♂️ 'true' means the role exists, 'false' means it doesn't.

Usage

$roleExists[roleID]

Parameters

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

Examples

Example #1:

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

example1

Example #2:

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

example2