From 2b96bd6560106e09751fa6320f4a864591f21ef1 Mon Sep 17 00:00:00 2001 From: Abheek Dhawan Date: Mon, 3 May 2021 21:46:56 -0500 Subject: [PATCH] Don't redeclare rounds --- bot/awesomescibo.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bot/awesomescibo.js b/bot/awesomescibo.js index 4a506a1..b88e06e 100755 --- a/bot/awesomescibo.js +++ b/bot/awesomescibo.js @@ -477,7 +477,7 @@ async function userRounds(message) { } if (rounds.length > 5) { - let rounds = rounds.slice(0, 5); + rounds = rounds.slice(0, 5); } rounds.forEach(async (item, index) => {