mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-13 08:19:08 +02:00
Changes in awaitMessages Commands
This commit is contained in:
@@ -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}`);
|
||||
|
||||
@@ -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}`);
|
||||
|
||||
@@ -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!');
|
||||
|
||||
Reference in New Issue
Block a user