This commit is contained in:
Dragon Fire
2020-03-17 19:35:12 -04:00
parent 085feae3dc
commit 8223a68918
+1 -1
View File
@@ -59,7 +59,7 @@ module.exports = class ConnectFourCommand extends Command {
${nums.join('')}
`);
const filter = res => {
if (res.author.id !== user.id) return false
if (res.author.id !== user.id) return false;
const choice = res.content;
if (choice.toLowerCase() === 'end') return true;
const i = Number.parseInt(choice, 10) - 1;