add Permissions to Member struct (#902)

* add Permissions to Member struct

* add period to Member.Permissions comment

* change Permissions type from string to int64
This commit is contained in:
Pierce 2021-04-10 16:21:21 -04:00 committed by GitHub
parent 4f55d76981
commit f7db9886fc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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