This commit is contained in:
Dragon Fire
2020-09-15 15:51:31 -04:00
parent 34b7c115eb
commit 6f5f7228e1
+1 -1
View File
@@ -57,7 +57,7 @@ module.exports = class TrueOrFalseCommand extends Command {
const filter = res => { const filter = res => {
if (res.author.id !== msg.author.id) return false; if (res.author.id !== msg.author.id) return false;
return trueAns.includes(res.content.toLowerCase()) || falseAns.includes(res.content.toLowerCase()); return trueAns.includes(res.content.toLowerCase()) || falseAns.includes(res.content.toLowerCase());
} };
const msgs = await msg.channel.awaitMessages(filter, { const msgs = await msg.channel.awaitMessages(filter, {
max: 1, max: 1,
time: 15000 time: 15000