Skip to content

Commit

Permalink
Merge pull request #32 from reinhello/patch
Browse files Browse the repository at this point in the history
Fix code typo
  • Loading branch information
reinacchi authored Aug 3, 2022
2 parents 123ee01 + 858075a commit 30a7a0d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion framework/lib/Events/Modules/GuildCreateEvent.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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(() => { });
Expand Down

0 comments on commit 30a7a0d

Please sign in to comment.