From 3a974ce603f6fa42aec00bfc96405c2444b91716 Mon Sep 17 00:00:00 2001 From: Matthew R Date: Sun, 1 Nov 2020 07:11:16 -0500 Subject: [PATCH] add pre-approval for constants --- src/commands/apply.ts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/commands/apply.ts b/src/commands/apply.ts index efbd5a8..b6eddf2 100644 --- a/src/commands/apply.ts +++ b/src/commands/apply.ts @@ -45,6 +45,13 @@ export default class Apply extends Command { }, }); + this.services.set('p::role::constants', { + description: 'Pre-approval for Constants role assignment.', + type: 'SOFT', + url: 'https://eds.libraryofcode.org/roles/preconstants', + validation: (member: Member) => !member.roles.includes('511771731891847168'), + }); + this.services.set('p::cs::t2', { description: 'Pre-approval for Tier 2.', type: 'SOFT',