mirror of
https://github.com/diamondburned/arikawa.git
synced 2025-01-21 03:57:26 +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 (
|
const (
|
||||||
NoFlag UserFlags = 0
|
NoFlag UserFlags = 0
|
||||||
|
@ -54,13 +54,16 @@ const (
|
||||||
DiscordEmployee UserFlags = 1 << iota
|
DiscordEmployee UserFlags = 1 << iota
|
||||||
DiscordPartner
|
DiscordPartner
|
||||||
HypeSquadEvents
|
HypeSquadEvents
|
||||||
BugHunter
|
BugHunterLvl1
|
||||||
HouseBravery
|
HouseBravery
|
||||||
HouseBrilliance
|
HouseBrilliance
|
||||||
HouseBalance
|
HouseBalance
|
||||||
EarlySupporter
|
EarlySupporter
|
||||||
TeamUser
|
TeamUser
|
||||||
System
|
System
|
||||||
|
BugHunterLvl2
|
||||||
|
VerifiedBot
|
||||||
|
VerifiedBotDeveloper
|
||||||
)
|
)
|
||||||
|
|
||||||
type UserNitro uint8
|
type UserNitro uint8
|
||||||
|
|
Loading…
Reference in a new issue