fix role verification
This commit is contained in:
1 parent
f6ebb43317
commit
86104599a1
1 file changed
+1
-1
@@ -259,7 +259,7 @@ class LinesPoliceCadBot extends Client {
|
||||
name-search
|
||||
*/
|
||||
async verifyUseCommand(serverID, rolesCache) {
|
||||
let guildDB = await this.GetGuild(serverID).customRoleStatus;
|
||||
let guildDB = await this.GetGuild(serverID);
|
||||
if (!guildDB.customRoleStatus) return true; // There is no role limits, can use command
|
||||
|
||||
// Clear any deleted roles
|
||||
|
||||
Reference in new issue
Block a user