Register commands in Guild

This commit is contained in:
Noah committed 2021-11-17 19:03:35 -06:00
1 parent 007c78930e
commit a82101ab30
1 file changed
+2 -3
+2 -3
View File
@@ -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) =>