dpp::reaction
message.h
std::vector< uint32_t > std::vector<uint32_t> dpp::reaction::burst_colors burst_colors dpp::reaction::burst_colors

HEX colors used for super reaction.

Stored as integers.

uint32_t uint32_t dpp::reaction::count count dpp::reaction::count

Total number of times this emoji has been used to react (including super reacts).

uint32_t uint32_t dpp::reaction::count_burst count_burst dpp::reaction::count_burst

Count of super reactions.

uint32_t uint32_t dpp::reaction::count_normal count_normal dpp::reaction::count_normal

Count of normal reactions.

snowflake snowflake dpp::reaction::emoji_id emoji_id dpp::reaction::emoji_id

ID of emoji for reaction.

std::string std::string dpp::reaction::emoji_name emoji_name dpp::reaction::emoji_name

Name of emoji, if applicable.

bool bool dpp::reaction::me me dpp::reaction::me

Whether your bot reacted using this emoji.

bool bool dpp::reaction::me_burst me_burst dpp::reaction::me_burst

Whether your bot super-reacted using this emoji.

dpp::reaction::reaction
()
reaction
dpp::reaction::reaction

Constructs a new reaction object.

dpp::reaction::reaction
(nlohmann::json *j)
reaction
dpp::reaction::reaction
nlohmann::json * j

Constructs a new reaction object from a JSON object.

j

The JSON to read data from

dpp::reaction::~reaction
()=default
~reaction
dpp::reaction::~reaction

Destructs the reaction object.

Represents a reaction to a dpp::message.

T
bool
dpp::reaction
count
count_burst
count_normal
emoji_id
emoji_name
me
me_burst
burst_colors
dpp::snowflake
value
std::basic_string< Char >
std::string
std::vector< T >
elements
std::vector< uint32_t >
elements
< uint32_t >
uint32_t
uint64_t
- dpp::reaction
  burst_colors
- dpp::reaction
  count
- dpp::reaction
  count_burst
- dpp::reaction
  count_normal
- dpp::reaction
  emoji_id
- dpp::reaction
  emoji_name
- dpp::reaction
  me
- dpp::reaction
  me_burst
- dpp::reaction
  reaction
- dpp::reaction
  reaction
- dpp::reaction
  ~reaction