Removed Guild

This commit is contained in:
Noah committed 2022-02-17 19:57:37 -06:00
1 parent 8b3f2bc61a
commit 473bacf13a
3 files changed
+3 -9

No files matched your search

+1 -1
View File
@@ -89,7 +89,7 @@ class Client extends Discord.Client {
// Slash Commands
this.once("ready", async () => {
await this.application?.commands.set(this.commands, supportbot.Guild);
await this.guilds.cache.first()?.commands.set(this.commands);
console.log(
`\u001b[32;1m`,
`Slash Commands Registered for ${this.guilds.cache.first().name}`