Browse Source

Use set instead of create for slash commands

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

2
bot/awesomescibo.js

@ -38,7 +38,7 @@ client.once("ready", () => {
} }
] ]
commandData.forEach(commandData => { commandData.forEach(commandData => {
client.application.commands.create(commandData); client.application.commands.set(commandData);
}) })
// Connect to MongoDB using mongoose // Connect to MongoDB using mongoose

Loading…
Cancel
Save