$hasRole
Determines if a user possesses a specific role within the server. Returns true
if the user has the role, and false
otherwise.
$hasRole[userID;roleID]
Usage: - userID: The ID of the user you want to check. You can use
$authorID
to 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
.