From 858075a76a1072329d83d1e49daf84a746e15a89 Mon Sep 17 00:00:00 2001 From: Reinhardt Date: Wed, 3 Aug 2022 16:52:07 +0700 Subject: [PATCH] Fix code typo --- framework/lib/Events/Modules/GuildCreateEvent.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/framework/lib/Events/Modules/GuildCreateEvent.ts b/framework/lib/Events/Modules/GuildCreateEvent.ts index 76e1a47..6d01e6e 100644 --- a/framework/lib/Events/Modules/GuildCreateEvent.ts +++ b/framework/lib/Events/Modules/GuildCreateEvent.ts @@ -23,7 +23,7 @@ export async function guildCreateEvent(client: ReaderClient, guild: Guild) { commands.forEach((command) => { client.createGuildCommand(guild.id, { description: command.description, - name: command.description, + name: command.name, options: command.options, type: command.type }).catch(() => { });