mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-05 00:06:42 +02:00
Fix lint
This commit is contained in:
@@ -57,7 +57,7 @@ module.exports = class TrueOrFalseCommand extends Command {
|
||||
const filter = res => {
|
||||
if (res.author.id !== msg.author.id) return false;
|
||||
return trueAns.includes(res.content.toLowerCase()) || falseAns.includes(res.content.toLowerCase());
|
||||
}
|
||||
};
|
||||
const msgs = await msg.channel.awaitMessages(filter, {
|
||||
max: 1,
|
||||
time: 15000
|
||||
|
||||
Reference in New Issue
Block a user