mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-07 14:55:40 +02:00
Fix
This commit is contained in:
@@ -97,7 +97,7 @@ module.exports = class NimCommand extends Command {
|
||||
if (res.author.id !== user.id) return false;
|
||||
const chosen = res.content;
|
||||
if (chosen.toLowerCase() === 'end' || chosen.toLowerCase() === 'back') return true;
|
||||
const i = Number.parseInt(chosen, 10) - 1;
|
||||
const i = Number.parseInt(chosen, 10);
|
||||
return i <= row && i > 0;
|
||||
};
|
||||
const rowTurn = await msg.channel.awaitMessages(rowFilter, {
|
||||
|
||||
Reference in New Issue
Block a user