Represents a reaction. 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 | |
snowflake | id = {} |
Unique ID of object set by Discord. More... | |
snowflake | message_author_id {} |
Optional: ID of the user who authored the message which was reacted to. More... | |
channel * | react_channel {} |
Reacting channel. More... | |
emoji | react_emoji |
Reacted emoji. More... | |
guild * | react_guild {} |
Reacting guild. More... | |
guild_member | react_member |
Reacting guild member. More... | |
user | react_user |
Reacting user. 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.
Referenced by dpp::poll::add_answer(), dpp::cluster::create_webhook(), dpp::cluster::current_user_join_thread(), dpp::invite::fill_from_json_impl(), dpp::command_permission::fill_from_json_impl(), dpp::interaction::get_resolved_role(), dpp::interaction::get_resolved_user(), dpp::cluster::global_bulk_command_create(), dpp::cluster::global_bulk_command_delete(), dpp::cluster::global_command_delete(), dpp::cluster::global_command_edit(), dpp::cluster::guild_ban_delete(), dpp::cluster::guild_command_create(), dpp::cluster::guild_command_edit_permissions(), dpp::cluster::guild_get_integrations(), dpp::events::guild_member_update::handle(), dpp::events::guild_role_create::handle(), dpp::events::channel_create::handle(), dpp::events::voice_state_update::handle(), dpp::discord_voice_client::handle_frame(), main(), dpp::component::set_disabled(), and dpp::select_option::set_label().
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.