From 3bcf5f97e320895adc7ae3b47b7f65fb2e78f836 Mon Sep 17 00:00:00 2001 From: Abheek Dhawan Date: Sat, 15 May 2021 11:37:08 -0500 Subject: [PATCH] Use set instead of create for slash commands --- bot/awesomescibo.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bot/awesomescibo.js b/bot/awesomescibo.js index f48ffc5..a6b68e8 100755 --- a/bot/awesomescibo.js +++ b/bot/awesomescibo.js @@ -38,7 +38,7 @@ client.once("ready", () => { } ] commandData.forEach(commandData => { - client.application.commands.create(commandData); + client.application.commands.set(commandData); }) // Connect to MongoDB using mongoose