Represents a reaction to a dpp::message.
More...
Represents a reaction to a dpp::message.
◆ reaction() [1/2]
dpp::reaction::reaction |
( |
| ) |
|
Constructs a new reaction object.
◆ reaction() [2/2]
dpp::reaction::reaction |
( |
nlohmann::json * |
j | ) |
|
Constructs a new reaction object from a JSON object.
- Parameters
-
j | The JSON to read data from |
◆ ~reaction()
dpp::reaction::~reaction |
( |
| ) |
|
|
default |
Destructs the reaction object.
◆ burst_colors
std::vector<uint32_t> dpp::reaction::burst_colors |
HEX colors used for super reaction.
- Note
- Stored as integers.
◆ count
uint32_t dpp::reaction::count |
Total number of times this emoji has been used to react (including super reacts)
◆ count_burst
uint32_t dpp::reaction::count_burst |
Count of super reactions.
◆ count_normal
uint32_t dpp::reaction::count_normal |
Count of normal reactions.
◆ emoji_id
ID of emoji for reaction.
◆ emoji_name
std::string dpp::reaction::emoji_name |
Name of emoji, if applicable.
◆ me
Whether your bot reacted using this emoji.
◆ me_burst
bool dpp::reaction::me_burst |
Whether your bot super-reacted using this emoji.