enum Discord::UserFlags

Defined in:

discordcr/mappings/user.cr

Enum Members

DiscordEmployee = 1_u32
PartneredServerOwner = 2_u32
HypeSquadEvents = 4_u32
BugHunterLevel1 = 8_u32
HouseBravery = 64_u32
HouseBrilliance = 128_u32
HouseBalance = 256_u32
EarlySupporter = 512_u32
TeamUser = 1024_u32
System = 4096_u32
BugHunterLevel2 = 16384_u32
VerifiedBot = 65536_u32
EarlyVerifiedBotDeveloper = 131072_u32
CertifiedModerator = 262144_u32
BotHttpInteractions = 524288_u32

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def bot_http_interactions? #

[View source]
def bug_hunter_level1? #

[View source]
def bug_hunter_level2? #

[View source]
def certified_moderator? #

[View source]
def discord_employee? #

[View source]
def early_supporter? #

[View source]
def early_verified_bot_developer? #

[View source]
def house_balance? #

[View source]
def house_bravery? #

[View source]
def house_brilliance? #

[View source]
def hype_squad_events? #

[View source]
def none? #

[View source]
def partnered_server_owner? #

[View source]
def system? #

[View source]
def team_user? #

[View source]
def verified_bot? #

[View source]