Skip to content

Commit

Permalink
add Permissions to Member struct (bwmarrin#902)
Browse files Browse the repository at this point in the history
* add Permissions to Member struct

* add period to Member.Permissions comment

* change Permissions type from string to int64
  • Loading branch information
plally authored Apr 10, 2021
1 parent 4f55d76 commit f7db988
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 @@ -797,6 +797,9 @@ type Member struct {

// Is true while the member hasn't accepted the membership screen.
Pending bool `json:"pending"`

// Total permissions of the member in the channel, including overrides, returned when in the interaction object.
Permissions int64 `json:"permissions,string"`
}

// Mention creates a member mention
Expand Down

0 comments on commit f7db988

Please sign in to comment.