Skip to content
Extraits de code Groupes Projets
Valider e58665c0 rédigé par Adrien NUNES's avatar Adrien NUNES
Parcourir les fichiers

Add infocovid to parser

parent c5eb4a11
Branches
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
......@@ -96,4 +96,4 @@ class CommandInfoCovid{
}
}
module.exports = CommandQui;
\ No newline at end of file
module.exports = CommandInfoCovid;
\ No newline at end of file
......@@ -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);
}
}
}
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Veuillez vous inscrire ou vous pour commenter