From 2f7efcec7bf2e88c7a6f27fe7c7cdefe93fc9547 Mon Sep 17 00:00:00 2001 From: Matthew R Date: Sat, 31 Oct 2020 02:36:36 -0400 Subject: [PATCH] validation fix in apply --- src/commands/apply.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/commands/apply.ts b/src/commands/apply.ts index 1fe012b..0db582c 100644 --- a/src/commands/apply.ts +++ b/src/commands/apply.ts @@ -34,7 +34,7 @@ export default class Apply extends Command { description: 'Tier 2 upgrade for Cloud Services account.', type: 'HARD', url: 'https://eds.libraryofcode.org/cs/t2', - validation: (member: Member) => !member.roles.includes('546457886440685578'), + validation: (member: Member) => member.roles.includes('546457886440685578'), func: async (client: Client, ...data: any[]) => { const member = await client.guilds.get(client.config.guildID).getRESTMember(data[0]); const ax = require('axios');