diff --git a/commands/CommandInfoCovid.js b/commands/CommandInfoCovid.js index ce6b03bb842d83e444b1b86332788c4af02c1552..f6155471ee12ebee4b9f8d133b3a5a47635e5837 100644 --- a/commands/CommandInfoCovid.js +++ b/commands/CommandInfoCovid.js @@ -96,4 +96,4 @@ class CommandInfoCovid{ } } -module.exports = CommandQui; \ No newline at end of file +module.exports = CommandInfoCovid; \ No newline at end of file diff --git a/commands/CommandParser.js b/commands/CommandParser.js index 362ec930d5098a1b92b3bcfff09aa322c9ffac57..3bf83fc4b68fda00b49fe04138d75ca2335d8ef9 100644 --- a/commands/CommandParser.js +++ b/commands/CommandParser.js @@ -3,6 +3,7 @@ const DatabaseCommand = require('./DatabaseCommand.js'); const CommandVoteParser = require('./CommandVoteParser.js'); const CommandQui = require('./CommandQui.js'); const CommandPourquoi = require('./CommandPourquoi.js'); +const CommandInfoCovid = require('./CommandInfoCovid.js'); class CommandParser { @@ -14,6 +15,7 @@ class CommandParser { this.commandVoteParser = new CommandVoteParser(voteParser); this.commandQui = new CommandQui(client); this.commandPourquoi = new CommandPourquoi(client); + this.commandInfoCovid = new CommandInfoCovid(client); } parse(message) { @@ -23,6 +25,7 @@ class CommandParser { this.commandVoteParser.parse(message); this.commandQui.parse(message); this.commandPourquoi.parse(message); + this.commandInfoCovid.parse(message); } } }