From aa28f7a4cf2a205f83368d94dd48edce7015d9c7 Mon Sep 17 00:00:00 2001 From: smyalygames Date: Wed, 1 Mar 2023 14:19:04 +0000 Subject: [PATCH] refactor(arabot): comment out subcommands to add at a later date --- src/commands/outreach/outreach.ts | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/src/commands/outreach/outreach.ts b/src/commands/outreach/outreach.ts index 767a646..b5b7d41 100644 --- a/src/commands/outreach/outreach.ts +++ b/src/commands/outreach/outreach.ts @@ -48,7 +48,7 @@ export class OutreachCommand extends Subcommand { type: 'group', entries: [ { name: 'create', chatInputRun: 'eventCreate' }, - { name: 'start', chatInputRun: 'eventStart' }, + // { name: 'start', chatInputRun: 'eventStart' }, { name: 'end', chatInputRun: 'eventEnd' }, ], }, @@ -75,13 +75,17 @@ export class OutreachCommand extends Subcommand { .addSubcommandGroup((group) => group.setName('event') .setDescription('Commands to do with outreach events') .addSubcommand((command) => command.setName('create') - .setDescription('Start an outreach event') + .setDescription('Start an outreach event'))) + /* + TODO add this back at a later date + .addBooleanOption((option) => option.setName('start') - .setDescription('Start the event immediately'))) + .setDescription('Start the event immediately')) .addSubcommand((command) => command.setName('start') .setDescription('Start an outreach event')) .addSubcommand((command) => command.setName('end') .setDescription('End an outreach event'))) + */ .addSubcommandGroup((group) => group.setName('group') .setDescription('Commands to do with groups') .addSubcommand((command) => command.setName('create')