enum Servo::Model::User::UserFlags

Overview

The flags on a user's account.

Defined in:

model/user.cr

Enum Members

Staff = 1_u32

Discord Employee

Partner = 2_u32

Partnered Server Owner

Hypesquad = 4_u32

HypeSquad Events Coordinator

BugHunterLevel1 = 8_u32

Bug Hunter Level 1

HypeSquadOnlineHouse1 = 64_u32

House Bravery Member

HypeSquadOnlineHouse2 = 128_u32

House Brilliance Member

HypeSquadOnlineHouse3 = 256_u32

House Balance Member

PremiumEarlySupporter = 512_u32

Early Nitro Supporter

TeamPseudoUser = 1024_u32

User is a Team.

BugHunterLevel2 = 16384_u32

Bug Hunter Level 2

VerifiedBot = 65536_u32

Verified Bot

VerifiedDeveloper = 131072_u32

Early Verified Bot Developer

CertifiedModerator = 262144_u32

Discord Certified Moderator

BotHTTPInteractions = 524288_u32

Bot uses only HTTP interactions and is shown in the online member list.

Spammer = 1048576_u32

User has been identified as spammer

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 hype_squad_online_house1? #

[View source]
def hype_squad_online_house2? #

[View source]
def hype_squad_online_house3? #

[View source]
def hypesquad? #

[View source]
def none? #

[View source]
def partner? #

[View source]
def premium_early_supporter? #

[View source]
def spammer? #

[View source]
def staff? #

[View source]
def team_pseudo_user? #

[View source]
def verified_bot? #

[View source]
def verified_developer? #

[View source]