Skip to content
This repository has been archived by the owner on Jul 11, 2024. It is now read-only.

Commit

Permalink
feat: add Attachments field to application command callback (#468)
Browse files Browse the repository at this point in the history
* Added Attachments field

* go gen
  • Loading branch information
Acnologla authored Jan 26, 2022
1 parent bcbf892 commit c8099a3
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 0 deletions.
6 changes: 6 additions & 0 deletions iface_copier_gen.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions iface_reseter_gen.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions interaction.go
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ type InteractionApplicationCommandCallbackData struct {
Flags int `json:"flags"`
AllowedMentions *AllowedMentions `json:"allowed_mentions"`
Components []*MessageComponent `json:"components"`
Attachments []*Attachment `json:"attachments"`
}

type InteractionResponse struct {
Expand Down

0 comments on commit c8099a3

Please sign in to comment.