Changes in awaitMessages Commands

This commit is contained in:
Daniel Odendahl Jr
2017-03-24 03:05:54 +00:00
parent 6f2f30534f
commit f9c6c8164f
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -54,7 +54,7 @@ module.exports = class MathGameCommand extends commando.Command {
time: 10000,
errors: ['time'],
});
message.channel.send(`Good Job! You won! ${collected} is the correct answer!`);
message.channel.send(`Good Job! You won! ${solved} is the correct answer!`);
}
catch (err) {
message.channel.send(`Aw... Too bad, try again next time!\nThe correct answer is: ${solved}`);
+1 -1
View File
@@ -37,7 +37,7 @@ module.exports = class QuizCommand extends commando.Command {
time: 15000,
errors: ['time']
});
message.channel.send(`Good Job! You won! ${collected} is the correct answer!`);
message.channel.send(`Good Job! You won! ${response.body[0].answer} is the correct answer!`);
}
catch (err) {
message.channel.send(`Aw... Too bad, try again next time!\nThe Correct Answer was: ${response.body[0].answer}`);
+1 -1
View File
@@ -64,7 +64,7 @@ module.exports = class TypingGameCommand extends commando.Command {
time: time,
errors: ['time']
});
message.channel.send(`Good Job! You won!\n${collected} was typed fast enough!`);
message.channel.send(`Good Job! You won!`);
}
catch (err) {
message.channel.send('Aw... Too bad, try again next time!');