fix role verification

This commit is contained in:
SowinskiBraeden committed 2024-01-23 16:37:43 -08:00
1 parent f6ebb43317
commit 86104599a1
1 file changed
+1 -1
+1 -1
View File
@@ -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