Skip to content
This repository has been archived by the owner on Mar 5, 2023. It is now read-only.

Commit

Permalink
Merge pull request #18 from ankurp-bst/add-member-pending
Browse files Browse the repository at this point in the history
Add Pending in Member struct
  • Loading branch information
ashishjh-bst authored Apr 9, 2022
2 parents 762d80b + 4987c0f commit 15a0d62
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions structs.go
Original file line number Diff line number Diff line change
Expand Up @@ -764,6 +764,9 @@ type Member struct {

// A list of IDs of the roles which are possessed by the member.
Roles IDSlice `json:"roles,string"`

// Whether the user has not yet passed the guild's Membership Screening requirements
Pending bool `json:"pending"`
}

func (m *Member) GetGuildID() int64 {
Expand Down

0 comments on commit 15a0d62

Please sign in to comment.