DiscordCoreAPI
A Discord bot library written in C++, with custom asynchronous coroutines.
Loading...
Searching...
No Matches
discord_core_api::user_data Class Reference

A single user_data. More...

#include <FoundationEntities.hpp>

Inheritance diagram for discord_core_api::user_data:
[legend]

Public Data Members

uint64_t accentColor {}
 The user's banner color encoded as an integer representation of hexadecimal color code.
 
jsonifier::string avatar {}
 The user's avatar hash.
 
jsonifier::string avatarDecoration {}
 The user's avatar decoration hash.
 
jsonifier::string banner {}
 The user's banner hash.
 
bool bot {}
 Whether the user belongs to an oauth2 application.
 
jsonifier::string discriminator {}
 The user's discord-tag.
 
jsonifier::string email {}
 The user's email.
 
user_flags flags {}
 The flags on a user's account.
 
jsonifier::string globalName {}
 The user's display name, if it is set. for bots, this is the application name.
 
snowflake id {}
 The user's id.
 
jsonifier::string locale {}
 The user's chosen language option.
 
bool mfaEnabled {}
 Whether the user has two-factor enabled on their account.
 
int32_t premiumType {}
 The type of nitro subscription on a user's account.
 
int32_t publicFlags {}
 The public flags on a user's account.
 
bool system {}
 Whether the user is an official discord system user (part of the urgent message system).
 
jsonifier::string userName {}
 The user's username, not unique across the platform.
 
bool verified {}
 Whether the email on this account has been verified.
 

The documentation for this class was generated from the following files: