mirror of
https://github.com/discordeno/discordeno.git
synced 2026-06-03 17:30:07 +00:00
Update permissions.ts
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user