diff --git a/lib/command_user.go b/lib/command_user.go index 9de2263..4b77f4f 100644 --- a/lib/command_user.go +++ b/lib/command_user.go @@ -13,7 +13,7 @@ type UserCommand struct { NSFW *bool Description string DescriptionLocalizations *map[discordgo.Locale]string - Handler Handler + Handler Handler[UserCommandCtx] } func (c *UserCommand) ApplicationCommand() *discordgo.ApplicationCommand { @@ -39,3 +39,7 @@ func (c *UserCommand) Validate() (bool, error) { } return true, nil } + +type UserCommandCtx struct { + Ctx +}