From 9703ecb4b66b3b1902a50c8bd5d8726742201727 Mon Sep 17 00:00:00 2001 From: Bsian Date: Mon, 28 Oct 2019 21:45:31 +0000 Subject: [PATCH] Fixed more shit --- src/commands/cwg.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/commands/cwg.ts b/src/commands/cwg.ts index f887cba..4b1e55e 100644 --- a/src/commands/cwg.ts +++ b/src/commands/cwg.ts @@ -27,7 +27,7 @@ export default class CWG extends Command { args[5] should be the path to the x509 key; not required */ if (args[0] === 'create') { - if (!args[5]) return this.client.commands.get('help').run(message, [this.name]); + if (!args[3]) return this.client.commands.get('help').run(message, [this.name]); const account = await this.client.db.Account.findOne({ $or: [{ account: args[1] }, { userID: args[1] }] }); if (!account) return message.channel.createMessage(`${this.client.stores.emojis.error} Cannot locate account, please try again.`); try {