From ef1df4284099ca8b14dd764525900eb6aedf7511 Mon Sep 17 00:00:00 2001 From: Ayyan Date: Thu, 10 Dec 2020 18:48:10 +0400 Subject: [PATCH] Update permissions.ts --- src/utils/permissions.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/permissions.ts b/src/utils/permissions.ts index 58794e1ec..5c968fb67 100644 --- a/src/utils/permissions.ts +++ b/src/utils/permissions.ts @@ -243,7 +243,7 @@ export async function higherRolePosition( ) { const guild = await cacheHandlers.get("guilds", guildID); if (!guild) return; - + // If the bot is the owner of the guild, higher-role-checking is not necessary. if (guild.ownerID === botID) return true;