$hasRole
Determines if a user possesses a specific role within the server. Returns true if the user has the role, and false otherwise.
Usage: $hasRole[userID;roleID]
- userID: The ID of the user you want to check. You can use
$authorIDto check the message author. - roleID: The ID of the role you want to check for.
Example:
Checks if the message author has the role with the ID 99871..xx.