User

Inherits: MentionableEntity < DiscordEntity < Reference < Object

Properties

type name
String username
int discriminator
String avatar_hash
String email
String locale
bool is_bot
bool is_system
bool mfa_enabled
String banner_hash
Color accent
bool verified
int premium_type
BitFlag flags
BitFlag public_flags

Methods

return type signature
String get_tag ( )
String get_mention ( )
String get_nickname_mention ( )
int join_date_timestamp ( )
String get_class ( )

Constants

  • Dictionary Flags

    • DISCORD_EMPLOYEE = 1

    • PARTNER = 2

    • HYPESQUAD = 4

    • BUG_HUNTER_LEVEL1 = 8

    • HOUSE_BRAVERY = 64

    • HOUSE_BRILLIANCE = 128

    • HOUSE_BALANCE = 256

    • EARLY_SUPPORTER = 512

    • TEAM_PSEUDO_USER = 1024

    • BUG_HUNTER_LEVEL2 = 16384

    • VERIFIED_BOT = 65536

    • VERIFIED_DEVELOPER = 131072

    • CERTIFIED_MODERATOR = 262144

    • BOT_HTTP_INTERACTIONS = 524288

    There is currently no description for this constant.


  • Dictionary PremiumType

    • NONE = 0

    • NITRO_CLASSIC = 1

    • NITRO = 2

    There is currently no description for this constant.

Property Descriptions

  • String username

    There is currently no description for this property.


  • int discriminator

    There is currently no description for this property.


  • String avatar_hash

    There is currently no description for this property.


  • String email

    There is currently no description for this property.


  • String locale

    There is currently no description for this property.


  • bool is_bot

    There is currently no description for this property.


  • bool is_system

    There is currently no description for this property.


  • bool mfa_enabled

    There is currently no description for this property.


  • String banner_hash

    There is currently no description for this property.


  • Color accent

    There is currently no description for this property.


  • bool verified

    There is currently no description for this property.


  • int premium_type

    There is currently no description for this property.


  • BitFlag flags

    There is currently no description for this property.


  • BitFlag public_flags

    There is currently no description for this property.

Method Descriptions

  • User User ( Dictionary data )

    There is currently no description for this method.


  • String get_tag ( )

    There is currently no description for this method.


  • String get_mention ( )

    There is currently no description for this method.


  • String get_nickname_mention ( )

    There is currently no description for this method.


  • int join_date_timestamp ( )

    There is currently no description for this method.


  • String get_class ( )

    There is currently no description for this method.