$hasRole[user;role]
true if the user has the role, otherwise false.
Values
user- A mention like $mentioned or an ID, the person who used the command if empty.
role- A role name, mention or ID.
Example
$hasRole[$userID;Member]
true