From 72e6d9d7a47da758e37973d36a89a228caa52853 Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Sun, 31 Mar 2024 12:34:46 -0400 Subject: [PATCH] Fix --- commands/games-sp/20-questions.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/games-sp/20-questions.js b/commands/games-sp/20-questions.js index 03895875..c731f7cb 100644 --- a/commands/games-sp/20-questions.js +++ b/commands/games-sp/20-questions.js @@ -61,7 +61,7 @@ module.exports = class TwentyQuestionsCommand extends Command { const answers = question.answers.map(answer => answer.text); const rowCount = Math.ceil(answers.length / 5); const rows = []; - for (let i = 0; i < rowCount; i++) rows.push(new MessageActionRow()); + for (let i = 0; i <= rowCount; i++) rows.push(new MessageActionRow()); for (let i = 0; i < answers.length; i += 5) { const row = rows[i]; const components = answers.slice(i, i + 5);