Custom Commands
Search…
has functions
This functions returns a Boolean(true or false)

$hasEmbeds[channelid,messageid]

returns true or false.If the message has embed it will return true if not then it will return false

$hasRoles[userID;roleID]

returns true or false.If the user has the role it will return true if not then it will return false for may roles use
$hasRoles[userid;roleid1;roleid2;..]

$hasAnyRole[userID(optional);roleID]

returns true or false.If the user has one of the role it will return true if not then it will return false for may roles use
$hasRoles[userid;roleid1;roleid2;..]

$hasPerms[userid;perm1;perm2;.....]

check if the user has Permission in the guild.You can add more then 2 perms. Check the permission list under Options
1
$onlyBotPerms[admin;You are missing admin Permission]
2
Secret acess
Copied!
If the user does not have admin Perms it will return false

$hasAnyPerm[userid(optional);perm1;perm2;.....]

check if the user has one of the Permission in the guild.You can add more then 2 perms. Check the permission list under Options
Last modified 7mo ago