Hopefully fix second+ subcommand aliases not working
parent
01e0cafb6e
commit
6e39a27dc5
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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';
|
||||
|
|
Loading…
Reference in New Issue