D++ (DPP)
C++ Discord API Bot Library
|
#include <message.h>
Public Attributes | |
std::string | name |
dpp::snowflake | id = 0 |
bool | animated = false |
Emoji definition. To set an emoji on your button you must set one of either the name or id fields. The easiest way is to use the component::set_emoji method.
bool dpp::select_option::inner_select_emoji::animated = false |
True if the emoji is animated. Only applies to custom emojis.
dpp::snowflake dpp::select_option::inner_select_emoji::id = 0 |
The emoji ID value for emojis that are custom ones belonging to a guild. The same rules apply as with other emojis, that the bot must be on the guild where the emoji resides and it must be available for use (e.g. not disabled due to lack of boosts etc)
std::string dpp::select_option::inner_select_emoji::name |
Set the name field to the name of the emoji. For built in unicode emojis, set this to the actual unicode value of the emoji e.g. "😄" and not for example ":smile:"