mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-23 18:05:01 +02:00
Fix lint
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user