D++ (DPP)
C++ Discord API Bot Library
|
Allowed mentions detils. More...
#include <message.h>
Public Attributes | |
bool | parse_users |
Set to true to parse user mentions in the text. More... | |
bool | parse_everyone |
Set to true to at-everyone and at-here mentions in the text. More... | |
bool | parse_roles |
Set to true to parse role mentions in the text. More... | |
bool | replied_user |
Set to true to mention the user who sent the message this one is replying to. More... | |
std::vector< snowflake > | users |
List of users to allow pings for. More... | |
std::vector< snowflake > | roles |
List of roles to allow pings for. More... | |
Allowed mentions detils.
bool dpp::message::allowed_ref::parse_everyone |
Set to true to at-everyone and at-here mentions in the text.
bool dpp::message::allowed_ref::parse_roles |
Set to true to parse role mentions in the text.
bool dpp::message::allowed_ref::parse_users |
Set to true to parse user mentions in the text.
bool dpp::message::allowed_ref::replied_user |
Set to true to mention the user who sent the message this one is replying to.
std::vector<snowflake> dpp::message::allowed_ref::roles |
List of roles to allow pings for.
std::vector<snowflake> dpp::message::allowed_ref::users |
List of users to allow pings for.