diff --git a/application_command.go b/application_command.go index 21de359a..919fa2ab 100644 --- a/application_command.go +++ b/application_command.go @@ -23,12 +23,16 @@ type ApplicationCommandOptionChoice struct { } type ApplicationCommandOption struct { - Type OptionType `json:"type"` - Name string `json:"name"` - Description string `json:"description"` - Required bool `json:"required"` - Choices []*ApplicationCommandOptionChoice `json:"choices"` - Options []*ApplicationCommandOption `json:"options"` + Type OptionType `json:"type"` + Name string `json:"name"` + Description string `json:"description"` + Required bool `json:"required"` + Choices []*ApplicationCommandOptionChoice `json:"choices"` + Options []*ApplicationCommandOption `json:"options"` + ChannelTypes []ChannelType `json:"channel_types"` + MinValue float64 `json:"min_value"` + MaxValue float64 `json:"max_value"` + Autocomplete bool `json:"autocomplete"` } type ApplicationCommandDataOption struct { diff --git a/events.go b/events.go index 6ad202ba..ed09fd20 100644 --- a/events.go +++ b/events.go @@ -295,6 +295,8 @@ type InteractionCreate struct { Token string `json:"token"` Version int `json:"version"` Message *Message `json:"message"` + Locale string `json:"locale"` + GuildLocale string `json:"guild_locale"` ShardID uint `json:"-"` }