diff --git a/lib/command.go b/lib/command.go index febe06f..8e3aa0f 100644 --- a/lib/command.go +++ b/lib/command.go @@ -1,8 +1,6 @@ package bot import ( - "errors" - "github.com/bwmarrin/discordgo" ) @@ -25,9 +23,3 @@ type Ctx struct { discordgo.Interaction } -type ChatCommandCtx struct { - Ctx - Options ChatCommandCtxOptions -} - - diff --git a/lib/command_chat.go b/lib/command_chat.go index 3882dbf..e3bc054 100644 --- a/lib/command_chat.go +++ b/lib/command_chat.go @@ -72,6 +72,11 @@ func (c *ChatCommand) Validate() error { return nil } +type ChatCommandCtx struct { + Ctx + Options ChatCommandCtxOptions +} + type ChatCommandCtxOptions map[string]ChatCommandOption func (opts ChatCommandCtxOptions) GetAttachement(