Browse Source

Fix setting commands to use the entire array instead of looping through it

pull/10/head
Abheek Dhawan 4 years ago
parent
commit
db1c52715b
  1. 4
      bot/awesomescibo.js

4
bot/awesomescibo.js

@ -45,9 +45,9 @@ client.once("ready", () => {
"description": "Lists your 5 most recently generated rounds with links" "description": "Lists your 5 most recently generated rounds with links"
} }
] ]
commandData.forEach(commandData => { //commandData.forEach(commandData => {
client.application.commands.set(commandData); client.application.commands.set(commandData);
}) //})
// Connect to MongoDB using mongoose // Connect to MongoDB using mongoose
if (!process.env.CI) { if (!process.env.CI) {

Loading…
Cancel
Save