diff --git a/src/class/Util.ts b/src/class/Util.ts index bb87099..6ae38eb 100644 --- a/src/class/Util.ts +++ b/src/class/Util.ts @@ -69,8 +69,6 @@ export default class Util { for (const subCmd of resolvedCommand.subcommands.toArray()) { if (subCmd.aliases.includes(args[0])) { resolvedCommand = subCmd; parentLabel += ` ${args[0]}`; args.shift(); break; - } else { - hasSubCommands = false; break; } } } diff --git a/src/commands/cwg_delete.ts b/src/commands/cwg_delete.ts index aa51456..3998fab 100644 --- a/src/commands/cwg_delete.ts +++ b/src/commands/cwg_delete.ts @@ -4,7 +4,7 @@ import { Message } from 'eris'; import { Command, RichEmbed } from '../class'; import { Client } from '..'; -export default class CWG_Data extends Command { +export default class CWG_Delete extends Command { constructor(client: Client) { super(client); this.name = 'delete';