Skip to content

Commit

Permalink
Updated docs for approx member/presence count fields
Browse files Browse the repository at this point in the history
  • Loading branch information
hhaste committed Mar 5, 2024
1 parent 95ca6a1 commit f8af252
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions structs.go
Original file line number Diff line number Diff line change
Expand Up @@ -1274,7 +1274,13 @@ type UserGuild struct {
Owner bool `json:"owner"`
Permissions int64 `json:"permissions,string"`
Features []GuildFeature `json:"features"`

// Approximate number of members in this guild
// NOTE: this field is only filled when withCounts is true
ApproximateMemberCount int `json:"approximate_member_count"`

// Approximate number of members in this guild
// NOTE: this field is only filled when withCounts is true
ApproximatePresenceCount int `json:"approximate_presence_count"`
}

Expand Down

0 comments on commit f8af252

Please sign in to comment.