mirror of
https://github.com/diamondburned/arikawa.git
synced 2025-01-09 21:47:07 +00:00
discord: Upgrade MemberFlags from u8 to u32
why did it ever do this?! 522 does not even fit in a u8! where did it even get this idea from?! omg.
This commit is contained in:
parent
95173b95f7
commit
5aaffc3687
|
@ -431,7 +431,8 @@ func (m Member) AvatarURLWithType(t ImageType, guildID GuildID) string {
|
|||
return "https://cdn.discordapp.com/guilds/" + guildID.String() + "/users/" + m.User.ID.String() + "/avatars/" + t.format(m.Avatar)
|
||||
}
|
||||
|
||||
type MemberFlags uint8
|
||||
// MemberFlags represents the bit set of member flags.
|
||||
type MemberFlags uint32
|
||||
|
||||
const (
|
||||
MemberFlagsDidRejoin = 1 << iota
|
||||
|
|
Loading…
Reference in a new issue