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