mirror of
https://github.com/diamondburned/arikawa.git
synced 2025-01-21 03:57:26 +00:00
Discord: Added PublicFlags to User
In the Discord API, User objects were recently given a public_flags property that bots can access (without OAuth). I've added a field to the User struct for this.
This commit is contained in:
parent
d4fd61c24b
commit
becc1e129a
|
@ -24,6 +24,7 @@ type User struct {
|
|||
Email string `json:"email,omitempty"`
|
||||
|
||||
Flags UserFlags `json:"flags,omitempty"`
|
||||
PublicFlags UserFlags `json:"public_flags,omitempty"`
|
||||
Nitro UserNitro `json:"premium_type,omitempty"`
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue