v5.0.0
$hasRoles
Check if the User, has Roles or Not.
This function checks if the given user has the given roles. Returns boolean
1
$hasRoles[userID;roleID;roleID;...]
Copied!
1
bot.command({
2
name: "role",
3
code: `
4
$hasRoles[$authorID;$roleID[Developer]]`
5
})
Copied!
Last modified 1mo ago
Copy link
Edit on GitHub