mirror of
https://github.com/diamondburned/arikawa.git
synced 2025-01-20 19:47:12 +00:00
Discord: Added missing UserFlags constants, fixed overflow
This commit is contained in:
parent
f6a6178286
commit
88eb0a6d85
|
@ -46,7 +46,7 @@ func (u User) AvatarURL() string {
|
|||
}
|
||||
}
|
||||
|
||||
type UserFlags uint16
|
||||
type UserFlags uint32
|
||||
|
||||
const (
|
||||
NoFlag UserFlags = 0
|
||||
|
@ -54,13 +54,16 @@ const (
|
|||
DiscordEmployee UserFlags = 1 << iota
|
||||
DiscordPartner
|
||||
HypeSquadEvents
|
||||
BugHunter
|
||||
BugHunterLvl1
|
||||
HouseBravery
|
||||
HouseBrilliance
|
||||
HouseBalance
|
||||
EarlySupporter
|
||||
TeamUser
|
||||
System
|
||||
BugHunterLvl2
|
||||
VerifiedBot
|
||||
VerifiedBotDeveloper
|
||||
)
|
||||
|
||||
type UserNitro uint8
|
||||
|
|
Loading…
Reference in a new issue