From 7f6534b075479a13ed930eb4da58ff349fb8180c Mon Sep 17 00:00:00 2001 From: regalijan Date: Thu, 19 Oct 2023 16:50:31 -0400 Subject: [PATCH] Add EC permission check (this really needs to be refactored) --- functions/permissions.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/functions/permissions.ts b/functions/permissions.ts index 76504c3..c603792 100644 --- a/functions/permissions.ts +++ b/functions/permissions.ts @@ -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; }