Skip to content

Commit

Permalink
fix incorrect field name in InviteCreate
Browse files Browse the repository at this point in the history
  • Loading branch information
mlnrDev committed Sep 3, 2022
1 parent 498280a commit d6ce9a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion discord/invite.go
Expand Up @@ -74,7 +74,7 @@ type InviteGuild struct {
}

type InviteCreate struct {
MaxAgree int `json:"max_agree,omitempty"`
MaxAge int `json:"max_age,omitempty"`
MaxUses int `json:"max_uses,omitempty"`
Temporary bool `json:"temporary,omitempty"`
Unique bool `json:"unique,omitempty"`
Expand Down

0 comments on commit d6ce9a5

Please sign in to comment.