Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Add EC permission check (this really needs to be refactored)
  • Loading branch information
regalijan committed Oct 19, 2023
1 parent bf63dd4 commit 7f6534b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions functions/permissions.ts
Expand Up @@ -31,6 +31,7 @@ export default async function (
roles?.includes("338102086095077376")
)
permissions |= 1 << 11; // Head of Discord Moderation
if (roles?.includes("409645265700651018")) permissions |= 1 << 2;

return permissions;
}

0 comments on commit 7f6534b

Please sign in to comment.