mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-20 21:44:48 +02:00
Fix lint
This commit is contained in:
@@ -59,7 +59,7 @@ module.exports = class ConnectFourCommand extends Command {
|
|||||||
${nums.join('')}
|
${nums.join('')}
|
||||||
`);
|
`);
|
||||||
const filter = res => {
|
const filter = res => {
|
||||||
if (res.author.id !== user.id) return false
|
if (res.author.id !== user.id) return false;
|
||||||
const choice = res.content;
|
const choice = res.content;
|
||||||
if (choice.toLowerCase() === 'end') return true;
|
if (choice.toLowerCase() === 'end') return true;
|
||||||
const i = Number.parseInt(choice, 10) - 1;
|
const i = Number.parseInt(choice, 10) - 1;
|
||||||
|
|||||||
Reference in New Issue
Block a user