diff --git a/commands/help.go b/commands/help.go index 4d1d3df..f948776 100644 --- a/commands/help.go +++ b/commands/help.go @@ -30,10 +30,10 @@ var HelpCommand *Command = &Command{ }, Category: General, MessageRun: func(ctx *MsgContext) { - helpRun(ctx.Command, ctx.Session, ctx.Msg, &ctx.Args) + helpRun(ctx.Session, ctx.Msg, &ctx.Args) }, ChatInputRun: func(ctx *ChatInputContext) { - helpRun(ctx.Command, ctx.Session, ctx.Inter, nil) + helpRun(ctx.Session, ctx.Inter, nil) }, } @@ -47,7 +47,7 @@ func getCommandsByCategory(d *DiscommandStruct, category Category) []string { return commands } -func helpRun(c *Command, s *discordgo.Session, m any, args *[]string) { +func helpRun(s *discordgo.Session, m any, args *[]string) { var commandName string embed := &discordgo.MessageEmbed{ Color: utils.EmbedDefault,