$hasRole

Returns whether or not a user has the provided role.

🧙‍♂️ 'true' means the user has the role, 'false' means they don't.

Usage

$hasRole[userID;roleID]

Parameters

  • userID (Type: Snowflake || Flag: Required): The user to check for the role.
  • roleID (Type: Snowflake || Flag: Emptiable): The role that the bot is checking the user for.

Example

$nomention
$hasRole[$authorID;858376972303204362]

example