Skip to content

Commit

Permalink
feat(ApplicationCommand): guild id (bwmarrin#1207)
Browse files Browse the repository at this point in the history
Add missing guild_id field to ApplicationCommand structure
  • Loading branch information
FedorLap2006 authored Jul 2, 2022
1 parent 033c07d commit f697cca
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions interactions.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ const (
type ApplicationCommand struct {
ID string `json:"id,omitempty"`
ApplicationID string `json:"application_id,omitempty"`
GuildID string `json:"guild_id,omitempty"`
Version string `json:"version,omitempty"`
Type ApplicationCommandType `json:"type,omitempty"`
Name string `json:"name"`
Expand Down

0 comments on commit f697cca

Please sign in to comment.