From b124b70f87a18ce5e48c0908e5622e3e58b2dbfc Mon Sep 17 00:00:00 2001 From: Matthew Date: Tue, 21 Feb 2023 13:09:00 -0500 Subject: [PATCH] push coding changes reflecting organizational structure changes (v2) --- src/class/Command.ts | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/src/class/Command.ts b/src/class/Command.ts index 71a74e9..b46d303 100644 --- a/src/class/Command.ts +++ b/src/class/Command.ts @@ -74,19 +74,19 @@ export default class Command { case 0: return true; case 1: - return member.roles.some((r) => ['701481967149121627', '453689940140883988', '455972169449734144', '701454780828221450', '701454855952138300', '662163685439045632'].includes(r)); + return member.roles.some((r) => ['701481967149121627', '453689940140883988', '455972169449734144', '701454780828221450', '701454855952138300', '1077646568091570236'].includes(r)); case 2: - return member.roles.some((r) => ['453689940140883988', '455972169449734144', '701454780828221450', '701454855952138300', '662163685439045632'].includes(r)); + return member.roles.some((r) => ['453689940140883988', '455972169449734144', '701454780828221450', '701454855952138300', '1077646568091570236'].includes(r)); case 3: - return member.roles.some((r) => ['455972169449734144', '701454855952138300', '662163685439045632'].includes(r)); + return member.roles.some((r) => ['455972169449734144', '1077646956890951690', '1077647072163020840'].includes(r)); case 4: - return member.roles.some((r) => ['701454780828221450', '701454855952138300', '662163685439045632'].includes(r)); + return member.roles.some((r) => ['701454780828221450', '1077646956890951690', '1077647072163020840'].includes(r)); case 5: - return member.roles.some((r) => ['455972169449734144', '701454780828221450', '701454855952138300', '662163685439045632'].includes(r)); + return member.roles.some((r) => ['455972169449734144', '701454780828221450', '1077646568091570236'].includes(r)); case 6: - return member.roles.some((r) => ['701454855952138300', '662163685439045632'].includes(r)); + return member.roles.some((r) => ['1077646568091570236'].includes(r)); case 7: - return member.roles.includes('662163685439045632'); + return member.roles.some((r) => ['1077646956890951690', '1077647072163020840'].includes(r)); default: return false; } @@ -98,19 +98,19 @@ export default class Command { case 0: return true; case 1: - return member.roles.some((r) => ['701481967149121627', '453689940140883988', '455972169449734144', '701454780828221450', '701454855952138300', '662163685439045632'].includes(r)); + return member.roles.some((r) => ['701481967149121627', '453689940140883988', '455972169449734144', '701454780828221450', '701454855952138300', '1077646568091570236'].includes(r)); case 2: - return member.roles.some((r) => ['453689940140883988', '455972169449734144', '701454780828221450', '701454855952138300', '662163685439045632'].includes(r)); + return member.roles.some((r) => ['453689940140883988', '455972169449734144', '701454780828221450', '701454855952138300', '1077646568091570236'].includes(r)); case 3: - return member.roles.some((r) => ['455972169449734144', '701454855952138300', '662163685439045632'].includes(r)); + return member.roles.some((r) => ['455972169449734144', '1077646956890951690', '1077647072163020840'].includes(r)); case 4: - return member.roles.some((r) => ['701454780828221450', '701454855952138300', '662163685439045632'].includes(r)); + return member.roles.some((r) => ['701454780828221450', '1077646956890951690', '1077647072163020840'].includes(r)); case 5: - return member.roles.some((r) => ['455972169449734144', '701454780828221450', '701454855952138300', '662163685439045632'].includes(r)); + return member.roles.some((r) => ['455972169449734144', '701454780828221450', '1077646568091570236'].includes(r)); case 6: - return member.roles.some((r) => ['701454855952138300', '662163685439045632'].includes(r)); + return member.roles.some((r) => ['1077646568091570236'].includes(r)); case 7: - return member.roles.includes('662163685439045632'); + return member.roles.some((r) => ['1077646956890951690', '1077647072163020840'].includes(r)); default: return false; }