diff --git a/lib/command.go b/lib/command.go index 19fbefb..febe06f 100644 --- a/lib/command.go +++ b/lib/command.go @@ -30,9 +30,4 @@ type ChatCommandCtx struct { Options ChatCommandCtxOptions } -var ( - ErrChatCommandOptionNotExists = errors.New("chat command option does not exist") - ErrChatCommandOptionInvalidType = errors.New("chat command option is not of the type requested") -) - diff --git a/lib/command_chat.go b/lib/command_chat.go index f84cd3c..3882dbf 100644 --- a/lib/command_chat.go +++ b/lib/command_chat.go @@ -9,6 +9,11 @@ import ( "github.com/bwmarrin/discordgo" ) +var ( + ErrChatCommandOptionNotExists = errors.New("chat command option does not exist") + ErrChatCommandOptionInvalidType = errors.New("chat command option is not of the type requested") +) + type ChatCommand struct { Name string NameLocalizations *map[discordgo.Locale]string