From 86104599a1a2bfe96aedd6e16de41a6f9ea0a6e8 Mon Sep 17 00:00:00 2001 From: SowinskiBraeden Date: Tue, 23 Jan 2024 16:37:43 -0800 Subject: [PATCH] fix role verification --- structures/LinesPoliceCadBot.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/structures/LinesPoliceCadBot.js b/structures/LinesPoliceCadBot.js index e4ab5c1..94fd72d 100644 --- a/structures/LinesPoliceCadBot.js +++ b/structures/LinesPoliceCadBot.js @@ -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