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 | |
constexpr double | get_creation_time () const noexcept |
Get the creation time of this object according to Discord. More... | |
constexpr bool | operator== (const managed &other) const noexcept |
Comparison operator for comparing two managed objects by id. More... | |
constexpr 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 {} |
Optional: ID of the user who authored the message which was reacted to. 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.
|
inlineconstexprnoexceptinherited |
Get the creation time of this object according to Discord.
|
inlineconstexprnoexceptinherited |
Comparison operator for comparing two managed objects by id.
other | Other object to compare against |
|
inlineconstexprnoexceptinherited |
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 {} |
Optional: ID of the user who authored the message which was reacted to.
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.