D++ (DPP)
C++ Discord API Bot Library
|
Represents a reaction. Can be filled for use in a collector. More...
#include <collector.h>
Public Member Functions | |
double | get_creation_time () const |
Get the creation time of this object according to Discord. More... | |
bool | operator== (const managed &other) const noexcept |
Comparison operator for comparing two managed objects by id. More... | |
bool | operator!= (const managed &other) const noexcept |
Comparison operator for comparing two managed objects by id. More... | |
Public Attributes | |
user | react_user |
Reacting user. More... | |
guild * | react_guild {} |
Reacting guild. More... | |
guild_member | react_member |
Reacting guild member. More... | |
channel * | react_channel {} |
Reacting channel. More... | |
emoji | react_emoji |
Reacted emoji. More... | |
snowflake | message_author_id {} |
ID of the user who authored the message which was reacted to (Optional) More... | |
snowflake | id |
Unique ID of object set by Discord. This value contains a timestamp, worker ID, internal server ID, and an incrementing value. Only the timestamp is relevant to us as useful metadata. More... | |
Represents a reaction. Can be filled for use in a collector.
|
inherited |
Get the creation time of this object according to Discord.
|
noexceptinherited |
Comparison operator for comparing two managed objects by id.
other | Other object to compare against |
|
noexceptinherited |
Comparison operator for comparing two managed objects by id.
other | Other object to compare against |
|
inherited |
Unique ID of object set by Discord. This value contains a timestamp, worker ID, internal server ID, and an incrementing value. Only the timestamp is relevant to us as useful metadata.
snowflake dpp::collected_reaction::message_author_id {} |
ID of the user who authored the message which was reacted to (Optional)
channel* dpp::collected_reaction::react_channel {} |
Reacting channel.
emoji dpp::collected_reaction::react_emoji |
Reacted emoji.
guild* dpp::collected_reaction::react_guild {} |
Reacting guild.
guild_member dpp::collected_reaction::react_member |
Reacting guild member.
user dpp::collected_reaction::react_user |
Reacting user.