Fix return values for games

This commit is contained in:
Daniel Odendahl Jr
2017-03-31 11:19:51 +00:00
parent 677a5473a2
commit 6ee9ba4cb2
5 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -66,7 +66,7 @@ module.exports = class MathGameCommand extends commando.Command {
errors: ['time'],
});
let victoryMsg = await message.say(`Good Job! You won! ${solved} is the correct answer!`);
return [embedMsg, collected, victoryMsg];
return [embedMsg, victoryMsg];
}
catch (err) {
let loseMsg = await message.say(`Aw... Too bad, try again next time!\nThe correct answer is: ${solved}`);