$hasRoles
Returns `true` if the user has all the role(s) in the defined guild. Otherwise the function returns `false`.
FUNCTION USAGE:
    $hasRoles[userID;guildID;roleID]
    $hasRoles[userID;guildID;roleID;roleID;etc...]

Properties:

userID - The user being checked. guildID - The guild where the user and role is being checked. roleID - The role(s) being checked.
Example:
1
bot.Command({
2
name: "check",
3
code: `
4
$hasRoles[$authorID;$guilID[DB-Script Official Server];3546345634563456;23423542346322562;586784673546325463]
5
`
6
})
Copied!
Last modified 3mo ago
Copy link
Contents
Properties: