v5.0.0
$hasPerms
Returns, True or False, if the assigned Author ID, has it.
This function checks if the given user has the given permission. Returns boolean
1
bot.command({
2
name: "check",
3
code: `
4
$hasPerms[$authorID;admin]`
5
/*
6
This will check if the author has the permission 'Administrator'
7
*/
8
})
Copied!
Last modified 1mo ago
Copy link
Edit on GitHub