From 29ccc4778af50aef8007d5d38416ed78ce5044a3 Mon Sep 17 00:00:00 2001 From: Docs Deployment Bot Date: Mon, 23 Sep 2024 13:20:10 +0000 Subject: [PATCH] automatic commit --- annotated.html | 181 +- annotated_dup.js | 1 + awaiting-events.html | 2 +- caching-messages.html | 4 +- callback-functions.html | 2 +- classdpp_1_1channel__collector.html | 2 +- classdpp_1_1collector.html | 2 +- classdpp_1_1event__router__t.html | 2 +- classdpp_1_1interaction__coll__graph.map | 86 +- classdpp_1_1interaction__coll__graph.md5 | 2 +- classdpp_1_1interaction__coll__graph.svg | 1050 +++++---- classdpp_1_1interaction__coll__graph_org.svg | 1052 +++++---- classdpp_1_1message__collector.html | 2 +- classdpp_1_1reaction__collector.html | 2 +- classdpp_1_1role__collector.html | 2 +- classdpp_1_1scheduled__event__collector.html | 2 +- classdpp_1_1thread__coll__graph.map | 88 +- classdpp_1_1thread__coll__graph.md5 | 2 +- classdpp_1_1thread__coll__graph.svg | 1048 +++++---- classdpp_1_1thread__coll__graph_org.svg | 1048 +++++---- classdpp_1_1thread__collector.html | 2 +- classes.html | 2 +- collecting-reactions.html | 4 +- commandhandler.html | 2 +- coro-simple-commands.html | 2 +- cpp-eval-command-discord.html | 2 +- detecting-messages.html | 2 +- expiring-buttons.html | 2 +- functions_func_s.html | 2 +- functions_m.html | 9 +- functions_s.html | 2 +- functions_t.html | 2 +- functions_vars_m.html | 3 +- functions_vars_t.html | 2 +- hierarchy.html | 89 +- hierarchy.js | 1 + inherit_graph_111.map | 2 +- inherit_graph_111.md5 | 2 +- inherit_graph_111.svg | 4 +- inherit_graph_112.map | 2 +- inherit_graph_112.md5 | 2 +- inherit_graph_112.svg | 10 +- inherit_graph_113.map | 2 +- inherit_graph_113.md5 | 2 +- inherit_graph_113.svg | 10 +- inherit_graph_114.map | 2 +- inherit_graph_114.md5 | 2 +- inherit_graph_114.svg | 10 +- inherit_graph_115.map | 2 +- inherit_graph_115.md5 | 2 +- inherit_graph_115.svg | 10 +- inherit_graph_116.map | 2 +- inherit_graph_116.md5 | 2 +- inherit_graph_116.svg | 10 +- inherit_graph_117.map | 2 +- inherit_graph_117.md5 | 2 +- inherit_graph_117.svg | 10 +- inherit_graph_118.map | 2 +- inherit_graph_118.md5 | 2 +- inherit_graph_118.svg | 10 +- inherit_graph_119.map | 2 +- inherit_graph_119.md5 | 2 +- inherit_graph_119.svg | 10 +- inherit_graph_120.map | 2 +- inherit_graph_120.md5 | 2 +- inherit_graph_120.svg | 10 +- inherit_graph_121.map | 2 +- inherit_graph_121.md5 | 2 +- inherit_graph_121.svg | 10 +- inherit_graph_122.map | 2 +- inherit_graph_122.md5 | 2 +- inherit_graph_122.svg | 10 +- inherit_graph_123.map | 2 +- inherit_graph_123.md5 | 2 +- inherit_graph_123.svg | 13 +- inherit_graph_124.map | 2 +- inherit_graph_124.md5 | 2 +- inherit_graph_124.svg | 13 +- inherit_graph_125.map | 2 +- inherit_graph_125.md5 | 2 +- inherit_graph_125.svg | 10 +- inherit_graph_126.map | 2 +- inherit_graph_126.md5 | 2 +- inherit_graph_126.svg | 13 +- inherit_graph_127.map | 2 +- inherit_graph_127.md5 | 2 +- inherit_graph_127.svg | 10 +- inherit_graph_128.map | 2 +- inherit_graph_128.md5 | 2 +- inherit_graph_128.svg | 13 +- inherit_graph_129.map | 2 +- inherit_graph_129.md5 | 2 +- inherit_graph_129.svg | 10 +- inherit_graph_130.map | 6 +- inherit_graph_130.md5 | 2 +- inherit_graph_130.svg | 73 +- inherit_graph_131.map | 6 +- inherit_graph_131.md5 | 2 +- inherit_graph_131.svg | 73 +- inherit_graph_132.map | 2 +- inherit_graph_132.md5 | 2 +- inherit_graph_132.svg | 10 +- inherit_graph_133.map | 2 +- inherit_graph_133.md5 | 2 +- inherit_graph_133.svg | 14 +- inherit_graph_134.map | 2 +- inherit_graph_134.md5 | 2 +- inherit_graph_134.svg | 14 +- inherit_graph_135.map | 2 +- inherit_graph_135.md5 | 2 +- inherit_graph_135.svg | 10 +- inherit_graph_136.map | 2 +- inherit_graph_136.md5 | 2 +- inherit_graph_136.svg | 10 +- inherit_graph_137.map | 2 +- inherit_graph_137.md5 | 2 +- inherit_graph_137.svg | 10 +- inherit_graph_138.map | 2 +- inherit_graph_138.md5 | 2 +- inherit_graph_138.svg | 10 +- inherit_graph_139.map | 2 +- inherit_graph_139.md5 | 2 +- inherit_graph_139.svg | 10 +- inherit_graph_140.map | 2 +- inherit_graph_140.md5 | 2 +- inherit_graph_140.svg | 10 +- inherit_graph_141.map | 2 +- inherit_graph_141.md5 | 2 +- inherit_graph_141.svg | 10 +- inherit_graph_142.map | 2 +- inherit_graph_142.md5 | 2 +- inherit_graph_142.svg | 10 +- inherit_graph_143.map | 2 +- inherit_graph_143.md5 | 2 +- inherit_graph_143.svg | 13 +- inherit_graph_144.map | 2 +- inherit_graph_144.md5 | 2 +- inherit_graph_144.svg | 4 +- inherit_graph_145.map | 2 +- inherit_graph_145.md5 | 2 +- inherit_graph_145.svg | 13 +- inherit_graph_146.map | 3 + inherit_graph_146.md5 | 1 + inherit_graph_146.svg | 21 + inherits.html | 68 +- lambdas-and-locals.html | 4 +- modal-dialog-interactions.html | 2 +- namespacedpp.html | 40 +- namespacedpp.js | 3 + namespacemembers_m.html | 2 + namespacemembers_vars_m.html | 2 + namespaces.html | 183 +- navtreedata.js | 105 +- navtreeindex0.js | 112 +- navtreeindex1.js | 106 +- navtreeindex10.js | 148 +- navtreeindex11.js | 130 +- navtreeindex12.js | 144 +- navtreeindex13.js | 120 +- navtreeindex14.js | 124 +- navtreeindex15.js | 134 +- navtreeindex16.js | 398 ++-- navtreeindex17.js | 500 ++-- navtreeindex18.js | 500 ++-- navtreeindex19.js | 500 ++-- navtreeindex2.js | 130 +- navtreeindex20.js | 500 ++-- navtreeindex21.js | 486 ++-- navtreeindex22.js | 230 +- navtreeindex23.js | 500 ++-- navtreeindex24.js | 500 ++-- navtreeindex25.js | 500 ++-- navtreeindex26.js | 500 ++-- navtreeindex27.js | 130 +- navtreeindex28.js | 6 +- navtreeindex29.js | 6 +- navtreeindex3.js | 134 +- navtreeindex30.js | 6 +- navtreeindex31.js | 6 +- navtreeindex32.js | 6 +- navtreeindex33.js | 6 +- navtreeindex34.js | 6 +- navtreeindex35.js | 6 +- navtreeindex36.js | 6 +- navtreeindex37.js | 6 +- navtreeindex38.js | 6 +- navtreeindex39.js | 6 +- navtreeindex4.js | 140 +- navtreeindex40.js | 6 +- navtreeindex41.js | 6 +- navtreeindex42.js | 6 +- navtreeindex43.js | 6 +- navtreeindex44.js | 6 +- navtreeindex45.js | 6 +- navtreeindex46.js | 6 +- navtreeindex47.js | 6 +- navtreeindex48.js | 6 +- navtreeindex49.js | 6 +- navtreeindex5.js | 126 +- navtreeindex50.js | 6 +- navtreeindex51.js | 6 +- navtreeindex52.js | 6 +- navtreeindex53.js | 36 +- navtreeindex54.js | 130 +- navtreeindex55.js | 120 +- navtreeindex56.js | 96 +- navtreeindex57.js | 6 +- navtreeindex58.js | 38 +- navtreeindex59.js | 52 +- navtreeindex6.js | 104 +- navtreeindex60.js | 74 +- navtreeindex61.js | 60 +- navtreeindex62.js | 140 +- navtreeindex63.js | 124 +- navtreeindex64.js | 152 +- navtreeindex65.js | 158 +- navtreeindex66.js | 136 +- navtreeindex67.js | 298 +-- navtreeindex68.js | 500 ++-- navtreeindex69.js | 500 ++-- navtreeindex7.js | 138 +- navtreeindex70.js | 500 ++-- navtreeindex71.js | 500 ++-- navtreeindex72.js | 456 ++-- navtreeindex73.js | 402 ++-- navtreeindex74.js | 467 ++-- navtreeindex8.js | 140 +- navtreeindex9.js | 114 +- private-messaging.html | 2 +- search/all_13.js | 2 +- search/all_14.js | 423 ++-- search/all_d.js | 408 ++-- search/classes_b.js | 11 +- search/functions_10.js | 2 +- search/variables_14.js | 14 +- search/variables_d.js | 297 +-- separate-events.html | 2 +- ...p_1_1active__thread__info__coll__graph.map | 90 +- ...p_1_1active__thread__info__coll__graph.md5 | 2 +- ...p_1_1active__thread__info__coll__graph.svg | 1076 +++++---- ...1active__thread__info__coll__graph_org.svg | 1076 +++++---- structdpp_1_1attachment__coll__graph.map | 66 +- structdpp_1_1attachment__coll__graph.md5 | 2 +- structdpp_1_1attachment__coll__graph.svg | 816 +++---- structdpp_1_1attachment__coll__graph_org.svg | 816 +++---- structdpp_1_1autocomplete__t__coll__graph.map | 112 +- structdpp_1_1autocomplete__t__coll__graph.md5 | 2 +- structdpp_1_1autocomplete__t__coll__graph.svg | 1260 +++++----- ...pp_1_1autocomplete__t__coll__graph_org.svg | 1262 +++++----- ...ctdpp_1_1button__click__t__coll__graph.map | 112 +- ...ctdpp_1_1button__click__t__coll__graph.md5 | 2 +- ...ctdpp_1_1button__click__t__coll__graph.svg | 1250 +++++----- ...p_1_1button__click__t__coll__graph_org.svg | 1252 +++++----- ...ctdpp_1_1context__menu__t__coll__graph.map | 112 +- ...ctdpp_1_1context__menu__t__coll__graph.md5 | 2 +- ...ctdpp_1_1context__menu__t__coll__graph.svg | 1236 +++++----- ...p_1_1context__menu__t__coll__graph_org.svg | 1238 +++++----- structdpp_1_1form__submit__t__coll__graph.map | 112 +- structdpp_1_1form__submit__t__coll__graph.md5 | 2 +- structdpp_1_1form__submit__t__coll__graph.svg | 1252 +++++----- ...pp_1_1form__submit__t__coll__graph_org.svg | 1254 +++++----- ...ctdpp_1_1guild__create__t__coll__graph.map | 186 +- ...ctdpp_1_1guild__create__t__coll__graph.md5 | 2 +- ...ctdpp_1_1guild__create__t__coll__graph.svg | 2088 ++++++++-------- ...p_1_1guild__create__t__coll__graph_org.svg | 2090 +++++++++-------- ...1_1interaction__create__t__coll__graph.map | 110 +- ...1_1interaction__create__t__coll__graph.md5 | 2 +- ...1_1interaction__create__t__coll__graph.svg | 1228 +++++----- ...nteraction__create__t__coll__graph_org.svg | 1230 +++++----- ...eraction__modal__response__coll__graph.map | 76 +- ...eraction__modal__response__coll__graph.md5 | 2 +- ...eraction__modal__response__coll__graph.svg | 884 +++---- ...tion__modal__response__coll__graph_org.svg | 886 +++---- ..._1_1interaction__response__coll__graph.map | 70 +- ..._1_1interaction__response__coll__graph.md5 | 2 +- ..._1_1interaction__response__coll__graph.svg | 802 ++++--- ...interaction__response__coll__graph_org.svg | 804 ++++--- structdpp_1_1message-members.html | 67 +- structdpp_1_1message.html | 38 +- structdpp_1_1message.js | 3 +- ...pp_1_1message_1_1message__ref-members.html | 1 + structdpp_1_1message_1_1message__ref.html | 21 +- structdpp_1_1message_1_1message__ref.js | 3 +- ..._1message_1_1message__ref__coll__graph.map | 9 +- ..._1message_1_1message__ref__coll__graph.md5 | 2 +- ..._1message_1_1message__ref__coll__graph.svg | 70 +- structdpp_1_1message__coll__graph.map | 64 +- structdpp_1_1message__coll__graph.md5 | 2 +- structdpp_1_1message__coll__graph.svg | 760 +++--- structdpp_1_1message__coll__graph_org.svg | 760 +++--- ...message__context__menu__t__coll__graph.map | 114 +- ...message__context__menu__t__coll__graph.md5 | 2 +- ...message__context__menu__t__coll__graph.svg | 1248 +++++----- ...age__context__menu__t__coll__graph_org.svg | 1250 +++++----- ...dpp_1_1message__create__t__coll__graph.map | 88 +- ...dpp_1_1message__create__t__coll__graph.md5 | 2 +- ...dpp_1_1message__create__t__coll__graph.svg | 916 ++++---- ...1_1message__create__t__coll__graph_org.svg | 918 ++++---- structdpp_1_1message__snapshot-members.html | 168 ++ structdpp_1_1message__snapshot.html | 201 ++ structdpp_1_1message__snapshot.js | 4 + ...tdpp_1_1message__snapshot__coll__graph.map | 4 + ...tdpp_1_1message__snapshot__coll__graph.md5 | 1 + ...tdpp_1_1message__snapshot__coll__graph.svg | 37 + ...dpp_1_1message__update__t__coll__graph.map | 88 +- ...dpp_1_1message__update__t__coll__graph.md5 | 2 +- ...dpp_1_1message__update__t__coll__graph.svg | 916 ++++---- ...1_1message__update__t__coll__graph_org.svg | 918 ++++---- ...ctdpp_1_1select__click__t__coll__graph.map | 112 +- ...ctdpp_1_1select__click__t__coll__graph.md5 | 2 +- ...ctdpp_1_1select__click__t__coll__graph.svg | 1260 +++++----- ...p_1_1select__click__t__coll__graph_org.svg | 1262 +++++----- structdpp_1_1slashcommand__t__coll__graph.map | 112 +- structdpp_1_1slashcommand__t__coll__graph.md5 | 2 +- structdpp_1_1slashcommand__t__coll__graph.svg | 1236 +++++----- ...pp_1_1slashcommand__t__coll__graph_org.svg | 1238 +++++----- ...tdpp_1_1thread__create__t__coll__graph.map | 146 +- ...tdpp_1_1thread__create__t__coll__graph.md5 | 2 +- ...tdpp_1_1thread__create__t__coll__graph.svg | 1516 ++++++------ ..._1_1thread__create__t__coll__graph_org.svg | 1518 ++++++------ ...tdpp_1_1thread__delete__t__coll__graph.map | 146 +- ...tdpp_1_1thread__delete__t__coll__graph.md5 | 2 +- ...tdpp_1_1thread__delete__t__coll__graph.svg | 1516 ++++++------ ..._1_1thread__delete__t__coll__graph_org.svg | 1518 ++++++------ ...tdpp_1_1thread__update__t__coll__graph.map | 146 +- ...tdpp_1_1thread__update__t__coll__graph.md5 | 2 +- ...tdpp_1_1thread__update__t__coll__graph.svg | 1516 ++++++------ ..._1_1thread__update__t__coll__graph_org.svg | 1518 ++++++------ ...1_1user__context__menu__t__coll__graph.map | 114 +- ...1_1user__context__menu__t__coll__graph.md5 | 2 +- ...1_1user__context__menu__t__coll__graph.svg | 1252 +++++----- ...ser__context__menu__t__coll__graph_org.svg | 1254 +++++----- using-emojis.html | 2 +- using_timers.html | 2 +- webhooks.html | 2 +- xml/classdpp_1_1interaction.xml | 74 +- xml/classdpp_1_1thread.xml | 56 +- xml/index.xml | 9 +- xml/message_8h.xml | 1 + xml/namespacedpp.xml | 36 +- xml/structdpp_1_1active__thread__info.xml | 58 +- xml/structdpp_1_1attachment.xml | 52 +- xml/structdpp_1_1autocomplete__t.xml | 36 +- xml/structdpp_1_1button__click__t.xml | 36 +- xml/structdpp_1_1context__menu__t.xml | 36 +- xml/structdpp_1_1form__submit__t.xml | 36 +- xml/structdpp_1_1guild__create__t.xml | 48 +- xml/structdpp_1_1interaction__create__t.xml | 36 +- ...uctdpp_1_1interaction__modal__response.xml | 72 +- xml/structdpp_1_1interaction__response.xml | 64 +- xml/structdpp_1_1message.xml | 252 +- xml/structdpp_1_1message_1_1allowed__ref.xml | 14 +- ...essage_1_1message__interaction__struct.xml | 10 +- xml/structdpp_1_1message_1_1message__ref.xml | 42 +- ...structdpp_1_1message__context__menu__t.xml | 36 +- xml/structdpp_1_1message__create__t.xml | 28 +- xml/structdpp_1_1message__snapshot.xml | 47 + xml/structdpp_1_1message__update__t.xml | 28 +- xml/structdpp_1_1select__click__t.xml | 36 +- xml/structdpp_1_1slashcommand__t.xml | 36 +- xml/structdpp_1_1thread__create__t.xml | 28 +- xml/structdpp_1_1thread__delete__t.xml | 28 +- xml/structdpp_1_1thread__update__t.xml | 28 +- xml/structdpp_1_1user__context__menu__t.xml | 36 +- 364 files changed, 36996 insertions(+), 34568 deletions(-) create mode 100644 inherit_graph_146.map create mode 100644 inherit_graph_146.md5 create mode 100644 inherit_graph_146.svg create mode 100644 structdpp_1_1message__snapshot-members.html create mode 100644 structdpp_1_1message__snapshot.html create mode 100644 structdpp_1_1message__snapshot.js create mode 100644 structdpp_1_1message__snapshot__coll__graph.map create mode 100644 structdpp_1_1message__snapshot__coll__graph.md5 create mode 100644 structdpp_1_1message__snapshot__coll__graph.svg create mode 100644 xml/structdpp_1_1message__snapshot.xml diff --git a/annotated.html b/annotated.html index 07164963a4c..0c8bd2d9784 100644 --- a/annotated.html +++ b/annotated.html @@ -371,96 +371,97 @@  Cmessage_reaction_remove_all_tMessage remove all reactions  Cmessage_reaction_remove_emoji_tMessage remove emoji  Cmessage_reaction_remove_tMessage reaction remove - Cmessage_update_tMessage update - Cmoveable_promiseGeneric promise class, represents the owning potion of an asynchronous value - Cmoving_averager - Cmultipart_contentRepresents a multipart mime body and the correct top-level mime type If a non-multipart request is passed in, this is represented as a plain body and the application/json mime type - ConboardingRepresents a guild's onboarding flow - Conboarding_promptRepresents an onboarding prompt - Conboarding_prompt_optionRepresents an onboarding prompt option - Coneshot_timerTrigger a timed event once. The provided callback is called only once - Cparam_infoDetails of a command parameter used in registration. Note that for non-slash commands optional parameters can only be at the end of the list of parameters - Cparse_exceptionRepresents inability to parse data, usually caused by malformed JSON or ETF - Cpartial_emojiAn emoji reference for a component (select menus included) or a poll - CpermissionRepresents a permission bitmask (refer to enum dpp::permissions) which are held in an uint64_t - Cpermission_overwriteChannel permission overwrites - CpollRepresents a poll - Cpoll_answerRepresents an answer in a poll - Cpoll_mediaStructure representing a poll media, for example the poll question or a possible poll answer - Cpoll_resultsRepresents the results of a poll - Canswer_countRepresents a reference to an answer and its count of votes - CpresenceRepresents user presence, e.g. what game they are playing and if they are online - Cpresence_update_tPresence update - CpruneDefines a request to count prunable users, or start a prune operation - CreactionRepresents a reaction to a dpp::message - Creaction_collectorReaction collector. Collects message reactions during a set timeframe and returns them in a list via the completed() method - Cready_tSession ready - Crequest_queueThe request_queue class manages rate limits and marshalls HTTP requests that have been built as http_request objects - Ccompleted_requestA completed request. Contains both the request and the response - Cqueued_deleting_requestA request queued for deletion in the queue - Cresolved_userDpp::resolved_user contains both a dpp::guild_member and a dpp::user. The user can be used to obtain in-depth user details such as if they are nitro, and the guild member information to check their roles on a guild etc. The Discord API provides both if a parameter is a user ping, so we offer both in a combined structure - Crest_exceptionRepresents an error on a REST API call, e.g. a HTTPS request - Cresumed_tSession resumed - CroleRepresents a role within a dpp::guild. Roles are combined via logical OR of the permission bitmasks, then channel-specific overrides can be applied on top, deny types apply a logic NOT to the bit mask, and allows apply a logical OR - Crole_collectorRole collector. Collects guild roles during a set timeframe and returns them in a list via the completed() method - Cscheduled_eventA scheduled event - Cscheduled_event_collectorScheduled event collector. Collects messages during a set timeframe and returns them in a list via the completed() method - Cselect_click_tClick on select - Cselect_optionAn option for a select component - CskuA definition of a discord SKU - CslashcommandRepresents an application command, created by your bot either globally, or on a guild - Cslashcommand_tUser has issued a slash command - CsnowflakeA container for a 64 bit unsigned value representing many things on discord. This value is known in distributed computing as a snowflake value - Cssl_clientImplements a simple non-blocking SSL stream client - Cstage_instanceA stage instance. Stage instances are like a conference facility, with moderators/speakers and listeners - Cstage_instance_create_tCreate stage instance - Cstage_instance_delete_tDelete stage instance - Cstage_instance_update_tUpdate stage instance - CstickerRepresents stickers received in messages - Csticker_packRepresents a sticker pack (the built in groups of stickers that all nitro users get to use) - CtaskA coroutine task. It starts immediately on construction and can be co_await-ed, making it perfect for parallel coroutines returning a value - Ctask_cancelled_exceptionRepresents the cancellation of a task. Will be thrown to the awaiter of a cancelled task - Ctask_dummy - Cteam_memberRepresents a team member on a team who maintain a bot/application - CthreadA definition of a discord thread. A thread is a superset of a channel. Not to be confused with std::thread! - Cthread_collectorThread collector. Collects threads during a set timeframe and returns them in a list via the completed() method - Cthread_create_tThread Create - Cthread_delete_tThread Delete - Cthread_list_sync_tThread List Sync - Cthread_memberRepresents membership of a user with a thread - Cthread_member_update_tThread Member Update - Cthread_members_update_tThread Members Update - Cthread_metadataMetadata for threads - Cthread_update_tThread Update - Ctimed_listenerA timed_listener is a way to temporarily attach to an event for a specific timeframe, then detach when complete. A lambda may also be optionally called when the timeout is reached. Destructing the timed_listener detaches any attached event listeners, and cancels any created timers, but does not call any timeout lambda - Ctimer_tUsed internally to store state of active timers - Ctyping_start_tTyping start - CuserRepresents a user on discord. May or may not be a member of a dpp::guild - Cuser_context_menu_tEvent parameter for context menu interactions for users - Cuser_identifiedA user with additional fields only available via the oauth2 identify scope. These are not included in dpp::user as additional scopes are needed to fetch them which bots do not normally have - Cuser_update_tUser update - Cvoice_buffer_send_tVoice buffer send - Cvoice_client_disconnect_tVoice client disconnect event - Cvoice_client_speaking_tVoice client speaking event - Cvoice_exceptionRepresents an error with voice processing - Cvoice_out_packetAn opus-encoded RTP packet to be sent out to a voice channel - Cvoice_ready_tVoice user talking - Cvoice_receive_tVoice receive packet - Cvoice_server_update_tVoice server update - Cvoice_state_update_tVoice state update - Cvoice_track_marker_tVoice state update - Cvoice_user_talking_tVoice user talking - CvoiceconnRepresents a connection to a voice channel. A client can only connect to one voice channel per guild at a time, so these are stored in a map in the dpp::discord_client keyed by guild_id - CvoiceregionRepresents a voice region on discord - CvoicestateRepresents the voice state of a user on a guild These are stored in the dpp::guild object, and accessible there, or via dpp::channel::get_voice_members - CwebhookRepresents a discord webhook - Cwebhooks_update_tWebhooks update - Cwebsocket_clientImplements a websocket client based on the SSL client - Cwelcome_channelDefines a channel on a server's welcome screen - Cwelcome_screenDefines a server's welcome screen - Cwhen_anyExperimental class to co_await on a bunch of awaitable objects, resuming when the first one completes. On completion, returns a result object that contains the index of the awaitable that finished first. A user can call result::index() and result::get<N>() on the result object to get the result, similar to std::variant - CawaiterObject returned by operator co_await(). Meant to be used by the standard library, not by a user - CresultObject returned by operator co_await() on resumption. Can be moved but not copied + Cmessage_snapshot + Cmessage_update_tMessage update + Cmoveable_promiseGeneric promise class, represents the owning potion of an asynchronous value + Cmoving_averager + Cmultipart_contentRepresents a multipart mime body and the correct top-level mime type If a non-multipart request is passed in, this is represented as a plain body and the application/json mime type + ConboardingRepresents a guild's onboarding flow + Conboarding_promptRepresents an onboarding prompt + Conboarding_prompt_optionRepresents an onboarding prompt option + Coneshot_timerTrigger a timed event once. The provided callback is called only once + Cparam_infoDetails of a command parameter used in registration. Note that for non-slash commands optional parameters can only be at the end of the list of parameters + Cparse_exceptionRepresents inability to parse data, usually caused by malformed JSON or ETF + Cpartial_emojiAn emoji reference for a component (select menus included) or a poll + CpermissionRepresents a permission bitmask (refer to enum dpp::permissions) which are held in an uint64_t + Cpermission_overwriteChannel permission overwrites + CpollRepresents a poll + Cpoll_answerRepresents an answer in a poll + Cpoll_mediaStructure representing a poll media, for example the poll question or a possible poll answer + Cpoll_resultsRepresents the results of a poll + Canswer_countRepresents a reference to an answer and its count of votes + CpresenceRepresents user presence, e.g. what game they are playing and if they are online + Cpresence_update_tPresence update + CpruneDefines a request to count prunable users, or start a prune operation + CreactionRepresents a reaction to a dpp::message + Creaction_collectorReaction collector. Collects message reactions during a set timeframe and returns them in a list via the completed() method + Cready_tSession ready + Crequest_queueThe request_queue class manages rate limits and marshalls HTTP requests that have been built as http_request objects + Ccompleted_requestA completed request. Contains both the request and the response + Cqueued_deleting_requestA request queued for deletion in the queue + Cresolved_userDpp::resolved_user contains both a dpp::guild_member and a dpp::user. The user can be used to obtain in-depth user details such as if they are nitro, and the guild member information to check their roles on a guild etc. The Discord API provides both if a parameter is a user ping, so we offer both in a combined structure + Crest_exceptionRepresents an error on a REST API call, e.g. a HTTPS request + Cresumed_tSession resumed + CroleRepresents a role within a dpp::guild. Roles are combined via logical OR of the permission bitmasks, then channel-specific overrides can be applied on top, deny types apply a logic NOT to the bit mask, and allows apply a logical OR + Crole_collectorRole collector. Collects guild roles during a set timeframe and returns them in a list via the completed() method + Cscheduled_eventA scheduled event + Cscheduled_event_collectorScheduled event collector. Collects messages during a set timeframe and returns them in a list via the completed() method + Cselect_click_tClick on select + Cselect_optionAn option for a select component + CskuA definition of a discord SKU + CslashcommandRepresents an application command, created by your bot either globally, or on a guild + Cslashcommand_tUser has issued a slash command + CsnowflakeA container for a 64 bit unsigned value representing many things on discord. This value is known in distributed computing as a snowflake value + Cssl_clientImplements a simple non-blocking SSL stream client + Cstage_instanceA stage instance. Stage instances are like a conference facility, with moderators/speakers and listeners + Cstage_instance_create_tCreate stage instance + Cstage_instance_delete_tDelete stage instance + Cstage_instance_update_tUpdate stage instance + CstickerRepresents stickers received in messages + Csticker_packRepresents a sticker pack (the built in groups of stickers that all nitro users get to use) + CtaskA coroutine task. It starts immediately on construction and can be co_await-ed, making it perfect for parallel coroutines returning a value + Ctask_cancelled_exceptionRepresents the cancellation of a task. Will be thrown to the awaiter of a cancelled task + Ctask_dummy + Cteam_memberRepresents a team member on a team who maintain a bot/application + CthreadA definition of a discord thread. A thread is a superset of a channel. Not to be confused with std::thread! + Cthread_collectorThread collector. Collects threads during a set timeframe and returns them in a list via the completed() method + Cthread_create_tThread Create + Cthread_delete_tThread Delete + Cthread_list_sync_tThread List Sync + Cthread_memberRepresents membership of a user with a thread + Cthread_member_update_tThread Member Update + Cthread_members_update_tThread Members Update + Cthread_metadataMetadata for threads + Cthread_update_tThread Update + Ctimed_listenerA timed_listener is a way to temporarily attach to an event for a specific timeframe, then detach when complete. A lambda may also be optionally called when the timeout is reached. Destructing the timed_listener detaches any attached event listeners, and cancels any created timers, but does not call any timeout lambda + Ctimer_tUsed internally to store state of active timers + Ctyping_start_tTyping start + CuserRepresents a user on discord. May or may not be a member of a dpp::guild + Cuser_context_menu_tEvent parameter for context menu interactions for users + Cuser_identifiedA user with additional fields only available via the oauth2 identify scope. These are not included in dpp::user as additional scopes are needed to fetch them which bots do not normally have + Cuser_update_tUser update + Cvoice_buffer_send_tVoice buffer send + Cvoice_client_disconnect_tVoice client disconnect event + Cvoice_client_speaking_tVoice client speaking event + Cvoice_exceptionRepresents an error with voice processing + Cvoice_out_packetAn opus-encoded RTP packet to be sent out to a voice channel + Cvoice_ready_tVoice user talking + Cvoice_receive_tVoice receive packet + Cvoice_server_update_tVoice server update + Cvoice_state_update_tVoice state update + Cvoice_track_marker_tVoice state update + Cvoice_user_talking_tVoice user talking + CvoiceconnRepresents a connection to a voice channel. A client can only connect to one voice channel per guild at a time, so these are stored in a map in the dpp::discord_client keyed by guild_id + CvoiceregionRepresents a voice region on discord + CvoicestateRepresents the voice state of a user on a guild These are stored in the dpp::guild object, and accessible there, or via dpp::channel::get_voice_members + CwebhookRepresents a discord webhook + Cwebhooks_update_tWebhooks update + Cwebsocket_clientImplements a websocket client based on the SSL client + Cwelcome_channelDefines a channel on a server's welcome screen + Cwelcome_screenDefines a server's welcome screen + Cwhen_anyExperimental class to co_await on a bunch of awaitable objects, resuming when the first one completes. On completion, returns a result object that contains the index of the awaitable that finished first. A user can call result::index() and result::get<N>() on the result object to get the result, similar to std::variant + CawaiterObject returned by operator co_await(). Meant to be used by the standard library, not by a user + CresultObject returned by operator co_await() on resumption. Can be moved but not copied  NstdSTL namespace  Chash< dpp::snowflake > diff --git a/annotated_dup.js b/annotated_dup.js index d0ebb3f68b0..614f4b94eab 100644 --- a/annotated_dup.js +++ b/annotated_dup.js @@ -274,6 +274,7 @@ var annotated_dup = [ "message_reaction_remove_all_t", "structdpp_1_1message__reaction__remove__all__t.html", "structdpp_1_1message__reaction__remove__all__t" ], [ "message_reaction_remove_emoji_t", "structdpp_1_1message__reaction__remove__emoji__t.html", "structdpp_1_1message__reaction__remove__emoji__t" ], [ "message_reaction_remove_t", "structdpp_1_1message__reaction__remove__t.html", "structdpp_1_1message__reaction__remove__t" ], + [ "message_snapshot", "structdpp_1_1message__snapshot.html", "structdpp_1_1message__snapshot" ], [ "message_update_t", "structdpp_1_1message__update__t.html", "structdpp_1_1message__update__t" ], [ "moveable_promise", "classdpp_1_1moveable__promise.html", "classdpp_1_1moveable__promise" ], [ "moving_averager", "structdpp_1_1moving__averager.html", "structdpp_1_1moving__averager" ], diff --git a/awaiting-events.html b/awaiting-events.html index 4a9fdf202b9..cc53a2e0046 100644 --- a/awaiting-events.html +++ b/awaiting-events.html @@ -173,7 +173,7 @@
void edit_original_response(const message &m, command_completion_event_t callback=utility::log_error()) const
Edit original response message for this interaction.
interaction command
command interaction
Definition: dispatcher.h:678
dpp::async< dpp::confirmation_callback_t > co_reply() const
Acknowledge interaction without displaying a message to the user, for use with button and select menu...
-
Represents messages sent and received on Discord.
Definition: message.h:2016
+
Represents messages sent and received on Discord.
Definition: message.h:2034
Session ready.
Definition: dispatcher.h:961
User has issued a slash command.
Definition: dispatcher.h:695

Note that there is a problem with that! If the user never clicks your button, or if the message gets deleted, your coroutine will be stuck waiting... And waiting... Forever until your bot shuts down, occupying a space in memory. This is where the next example comes into play as a solution, with a button that expires with time.

diff --git a/caching-messages.html b/caching-messages.html index 64ca76dea80..e47ead921b0 100644 --- a/caching-messages.html +++ b/caching-messages.html @@ -180,8 +180,8 @@
interaction command
command interaction
Definition: dispatcher.h:678
virtual command_value get_parameter(const std::string &name) const
Get a slashcommand parameter.
Create message.
Definition: dispatcher.h:1635
-
Represents messages sent and received on Discord.
Definition: message.h:2016
-
std::string content
Contents of the message.
Definition: message.h:2061
+
Represents messages sent and received on Discord.
Definition: message.h:2034
+
std::string content
Contents of the message.
Definition: message.h:2079
Session ready.
Definition: dispatcher.h:961
User has issued a slash command.
Definition: dispatcher.h:695
diff --git a/callback-functions.html b/callback-functions.html index 152b042608c..8a9bf54c2c6 100644 --- a/callback-functions.html +++ b/callback-functions.html @@ -212,7 +212,7 @@
T get() const
Get the stored value via std::get.
Definition: restresults.h:323
void reply(command_completion_event_t callback=utility::log_error()) const
Acknowledge interaction without displaying a message to the user, for use with button and select menu...
interaction command
command interaction
Definition: dispatcher.h:678
-
Represents messages sent and received on Discord.
Definition: message.h:2016
+
Represents messages sent and received on Discord.
Definition: message.h:2034
Session ready.
Definition: dispatcher.h:961
User has issued a slash command.
Definition: dispatcher.h:695

This is the result:

diff --git a/classdpp_1_1channel__collector.html b/classdpp_1_1channel__collector.html index 4635d207d57..05be4d08a1e 100644 --- a/classdpp_1_1channel__collector.html +++ b/classdpp_1_1channel__collector.html @@ -408,7 +408,7 @@

virtual const dpp::channel * filter(const dpp::channel_create_t &element)
Select and filter the items which are to appear in the list This is called every time a new event is ...
Definition: collector.h:354
constexpr const char m[]
Definition: unicode_emoji.h:5304
Create message.
Definition: dispatcher.h:1635
-
Represents messages sent and received on Discord.
Definition: message.h:2016
+
Represents messages sent and received on Discord.
Definition: message.h:2034
Parameters
diff --git a/classdpp_1_1collector.html b/classdpp_1_1collector.html index 64d3203e3f5..8e0d27644dc 100644 --- a/classdpp_1_1collector.html +++ b/classdpp_1_1collector.html @@ -357,7 +357,7 @@

virtual const C * filter(const T &element)=0
Filter the list of elements.
constexpr const char m[]
Definition: unicode_emoji.h:5304
Create message.
Definition: dispatcher.h:1635
-
Represents messages sent and received on Discord.
Definition: message.h:2016
+
Represents messages sent and received on Discord.
Definition: message.h:2034
Parameters

elementThe event data to filter
diff --git a/classdpp_1_1event__router__t.html b/classdpp_1_1event__router__t.html index 2adeb8fa77b..fbc5c1e9966 100644 --- a/classdpp_1_1event__router__t.html +++ b/classdpp_1_1event__router__t.html @@ -665,7 +665,7 @@

A coroutine task. It starts immediately on construction and can be co_await-ed, making it perfect for...
Definition: task.h:95
constexpr const char b[]
Definition: unicode_emoji.h:5255
Click on button.
Definition: dispatcher.h:703
-
Represents messages sent and received on Discord.
Definition: message.h:2016
+
Represents messages sent and received on Discord.
Definition: message.h:2034
User has issued a slash command.
Definition: dispatcher.h:695

This can be combined with dpp::when_any and other awaitables, for example dpp::cluster::co_sleep to create expiring buttons.

Warning
On resumption the awaiter will be given a reference to the event. This means that variable may become dangling at the next co_await, be careful and save it in a variable if you need to.
diff --git a/classdpp_1_1interaction__coll__graph.map b/classdpp_1_1interaction__coll__graph.map index 6dbd22b83ca..cb86257968a 100644 --- a/classdpp_1_1interaction__coll__graph.map +++ b/classdpp_1_1interaction__coll__graph.map @@ -1,44 +1,46 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/classdpp_1_1interaction__coll__graph.md5 b/classdpp_1_1interaction__coll__graph.md5 index 4513a085355..2e5961dc6b1 100644 --- a/classdpp_1_1interaction__coll__graph.md5 +++ b/classdpp_1_1interaction__coll__graph.md5 @@ -1 +1 @@ -996c4d20ebdfddfe1f3e5a219d3edf92 \ No newline at end of file +dc7bbf408d7dbb3e644da5ec77683c14 \ No newline at end of file diff --git a/classdpp_1_1interaction__coll__graph.svg b/classdpp_1_1interaction__coll__graph.svg index 93ea06b8228..72f533295d8 100644 --- a/classdpp_1_1interaction__coll__graph.svg +++ b/classdpp_1_1interaction__coll__graph.svg @@ -4,7 +4,7 @@ - +

elementThe event data to filter