D++ (DPP)  10.0.30
C++ Discord API Bot Library
dpp::resolved_user Struct Reference

dpp::resolved_user contains both a dpp::guild_member and a dpp::user. More...

#include "commandhandler.h"

Collaboration diagram for dpp::resolved_user:

Public Attributes

dpp::guild_member member
 Holds member information. More...
 
dpp::user user
 Holds user information. More...
 

Detailed Description

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.

Member Data Documentation

◆ member

dpp::guild_member dpp::resolved_user::member

Holds member information.

◆ user

dpp::user dpp::resolved_user::user

Holds user information.


The documentation for this struct was generated from the following file: