File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -34,6 +34,7 @@ const (
3434 TypeRole
3535 TypeMentionable
3636 TypeNumber
37+ TypeAttachment
3738)
3839
3940// ApplicationCommand types
@@ -162,11 +163,12 @@ type ApplicationCommandInteractionData struct {
162163}
163164
164165type ApplicationCommandInteractionDataResolved struct {
165- Users map [Snowflake ]User `json:"users"`
166- Members map [Snowflake ]GuildMember `json:"members"`
167- Roles map [Snowflake ]Role `json:"roles"`
168- Channels map [Snowflake ]Channel `json:"channels"`
169- Messages map [Snowflake ]Message `json:"messages"`
166+ Users map [Snowflake ]User `json:"users"`
167+ Members map [Snowflake ]GuildMember `json:"members"`
168+ Roles map [Snowflake ]Role `json:"roles"`
169+ Channels map [Snowflake ]Channel `json:"channels"`
170+ Messages map [Snowflake ]Message `json:"messages"`
171+ Attachments map [Snowflake ]Attachment `json:"attachments"`
170172}
171173
172174type Interaction struct {
You can’t perform that action at this time.
0 commit comments