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