$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]

Breakdown

  • userID - The user to check for the role.
  • roleID - The role that the bot is checking the user for.

Example

$nomention
$hasRole[$authorID;858376972303204362]

example