From db1c52715b6e327a92573720e0727fcf37b1cae0 Mon Sep 17 00:00:00 2001 From: Abheek Dhawan Date: Sat, 15 May 2021 12:31:22 -0500 Subject: [PATCH] Fix setting commands to use the entire array instead of looping through it --- bot/awesomescibo.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bot/awesomescibo.js b/bot/awesomescibo.js index c50be9f..edc481e 100755 --- a/bot/awesomescibo.js +++ b/bot/awesomescibo.js @@ -45,9 +45,9 @@ client.once("ready", () => { "description": "Lists your 5 most recently generated rounds with links" } ] - commandData.forEach(commandData => { + //commandData.forEach(commandData => { client.application.commands.set(commandData); - }) + //}) // Connect to MongoDB using mongoose if (!process.env.CI) {