D++ (DPP)
C++ Discord API Bot Library
|
Allowed mentions details. More...
Public Attributes | |
bool | parse_users |
Set to true to parse user mentions in the text. Default is false. More... | |
bool | parse_everyone |
Set to true to at-everyone and at-here mentions in the text. Default is false. More... | |
bool | parse_roles |
Set to true to parse role mentions in the text. Default is false. More... | |
bool | replied_user |
Set to true to mention the user who sent the message this one is replying to. Default is false. 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 details.
bool dpp::message::allowed_ref::parse_everyone |
Set to true to at-everyone and at-here mentions in the text. Default is false.
bool dpp::message::allowed_ref::parse_roles |
Set to true to parse role mentions in the text. Default is false.
bool dpp::message::allowed_ref::parse_users |
Set to true to parse user mentions in the text. Default is false.
bool dpp::message::allowed_ref::replied_user |
Set to true to mention the user who sent the message this one is replying to. Default is false.
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.