From a82101ab30e3a9704333b64ae8034924453c21fd Mon Sep 17 00:00:00 2001 From: Noah Date: Wed, 17 Nov 2021 19:03:35 -0600 Subject: [PATCH] Register commands in Guild --- Structures/Client.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Structures/Client.js b/Structures/Client.js index e70422d..f04bc30 100644 --- a/Structures/Client.js +++ b/Structures/Client.js @@ -76,10 +76,9 @@ class Client extends Discord.Client { this.on("ready", async () => { const allCommands = slashCommands.concat(slashCommands1); - await this.application?.commands.set(allCommands); - + await this.application?.commands.set(allCommands, supportbot.Guild); console.log(" "); - console.log(`\u001b[34;1m`, "▬▬▬▬▬▬▬ Slash Command ▬▬▬▬▬▬▬"), + console.log(`\u001b[34;1m`, "▬▬▬▬▬▬▬ Slash Commands ▬▬▬▬▬▬▬"), console.log(" "); slashCommands.forEach((cmd) =>