This commit is contained in:
Dragon Fire
2021-01-22 17:01:33 -05:00
parent 9a80215964
commit b0e58aab58
+1 -1
View File
@@ -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,