#include <user.hpp>
|
void | from_json (const nlohmann::json &j, user &m) |
|
void | to_json (nlohmann::json &j, const user &m) |
|
bool aegis::gateway::objects::user::is_bot |
( |
| ) |
const |
|
noexcept |
Returns whether user is a bot.
- Returns
- true if user is a bot
void aegis::gateway::objects::user::is_bot |
( |
bool |
isbot | ) |
|
|
noexcept |
Set user bot flag.
- Parameters
-
isbot | true if user is a bot |
bool aegis::gateway::objects::user::is_webhook |
( |
| ) |
const |
|
noexcept |
Returns whether user is a webhook.
- Returns
- true if user is a webhook
std::string aegis::gateway::objects::user::avatar |
std::string aegis::gateway::objects::user::discriminator |
snowflake aegis::gateway::objects::user::guild_id |
snowflake of guild of the event this user is attached to
std::string aegis::gateway::objects::user::username |
The documentation for this struct was generated from the following file: