D++ (DPP)
C++ Discord API Bot Library
|
dpp::resolved_user contains both a dpp::guild_member and a dpp::user. The user can be used to obtain in-depth user details such as if they are nitro, and the guild member information to check their roles on a guild etc. The Discord API provides both if a parameter is a user ping, so we offer both in a combined structure. More...
Public Attributes | |
dpp::user | user |
Holds user information. More... | |
dpp::guild_member | member |
Holds member information. More... | |
dpp::resolved_user contains both a dpp::guild_member and a dpp::user. The user can be used to obtain in-depth user details such as if they are nitro, and the guild member information to check their roles on a guild etc. The Discord API provides both if a parameter is a user ping, so we offer both in a combined structure.
dpp::guild_member dpp::resolved_user::member |
Holds member information.
dpp::user dpp::resolved_user::user |
Holds user information.