Skip to content

Commit

Permalink
feat: modified command handler (#1475)
Browse files Browse the repository at this point in the history
  • Loading branch information
Tolfx committed Jan 18, 2023
1 parent 3e8df11 commit a76014a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/classes/Commands/CommandHandler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,9 @@ export default class CommandHandler {

private message: c.MessageCommand;

private misc: c.MiscCommands;
help: c.HelpCommands;

misc: c.MiscCommands;

private opt: c.OptionsCommand;

Expand All @@ -101,6 +103,7 @@ export default class CommandHandler {
constructor(private readonly bot: Bot, private readonly pricer: IPricer) {
this.commands = new Map();
this.commandsPointAliases = new Map();
this.help = new c.HelpCommands(this.bot);
this.manager = new c.ManagerCommands(bot);
this.message = new c.MessageCommand(bot);
this.misc = new c.MiscCommands(bot);
Expand Down

0 comments on commit a76014a

Please sign in to comment.