Cdpp::active_thread_info | A thread alongside the bot's optional thread_member object tied to it |
Cdpp::activity | An activity is a representation of what a user is doing. It might be a game, or a website, or a movie. Whatever |
Cdpp::activity_assets | An activity asset are the images and the hover text displayed in the rich presence |
Cdpp::activity_button | An activity button is a custom button shown in the rich presence. Can be to join a game or whatever |
Cdpp::activity_party | Information for the current party of the player |
Cdpp::activity_secrets | Secrets for Rich Presence joining and spectating |
Cdpp::message::allowed_ref | Allowed mentions details |
Cdpp::app_team | Represents a team of users who maintain a bot/application |
Cdpp::application_install_params | Represents the settings for the bot/application's in-app authorization link |
Cdpp::detail::when_any::arg_helper_s< T > | Type trait helper to obtain the actual type that will be used by a when_any when a type is passed as a parameter. May specialize for certain types for specific behavior, e.g. for an event_router, store the awaitable directly |
Cdpp::detail::when_any::arg_helper_s< dpp::event_router_t< T > > | |
►Cdpp::detail::async::async_base< R > | Base class of dpp::async |
Cdpp::async< R > | A co_await-able object handling an API call in parallel with the caller |
Cdpp::detail::async::async_callback_data< R > | State of the async and its callback |
Cdpp::attachment | Represents an attachment in a dpp::message |
Cdpp::audio_mixer | A class for audio mixing operations using AVX instructions |
Cdpp::audit_change | Defines audit log changes |
Cdpp::audit_extra | Extra information for an audit log entry |
Cdpp::detail::event_router::awaitable< T > | Awaitable object representing an event. A user can co_await on this object to resume the next time the event is fired, optionally with a condition |
Cdpp::when_any< Args >::awaiter | Object returned by operator co_await(). Meant to be used by the standard library, not by a user |
Cdpp::bucket_t | A rate limit bucket. The library builds one of these for each endpoint |
Cdpp::cache< T > | A cache object maintains a cache of dpp::managed objects |
Cdpp::cache_policy_t | Represents the caching policy of the cluster |
Cdpp::cluster | The cluster class represents a group of shards and a command queue for sending and receiving commands from discord via HTTP. You should usually instantiate a cluster object at the very least to make use of the library |
►Cdpp::collector< T, C > | Collects objects from events during a specified time period |
Cdpp::channel_collector | Channel collector. Collects channels during a set timeframe and returns them in a list via the completed() method |
Cdpp::message_collector | Message collector. Collects messages during a set timeframe and returns them in a list via the completed() method |
Cdpp::reaction_collector | Reaction collector. Collects message reactions during a set timeframe and returns them in a list via the completed() method |
Cdpp::role_collector | Role collector. Collects guild roles during a set timeframe and returns them in a list via the completed() method |
Cdpp::scheduled_event_collector | Scheduled event collector. Collects messages during a set timeframe and returns them in a list via the completed() method |
Cdpp::thread_collector | Thread collector. Collects threads during a set timeframe and returns them in a list via the completed() method |
Cdpp::command_data_option | Values in the command interaction. These are the values specified by the user when actually issuing the command on a channel or in DM |
Cdpp::command_info_t | Represents the details of a command added to the command handler class |
►Cdpp::command_interaction | Details of a command within an interaction. This subobject represents the application command associated with the interaction |
Cdpp::autocomplete_interaction | An auto complete interaction |
Cdpp::command_resolved | Resolved snowflake ids to users, guild members, roles and channels. You can use the interaction::get_resolved_* methods to easily get a resolved set |
Cdpp::command_source | Represents the sending source of a command. This is passed to any command handler and should be passed back to commandhandler::reply(), allowing the reply method to route any replies back to the origin, which may be a slash command or a message. Both require different response facilities but we want this to be transparent if you use the command handler class |
Cdpp::commandhandler | The commandhandler class represents a group of commands, prefixed or slash commands with handling functions |
Cdpp::component_interaction | A button click for a button component |
Cdpp::confirmation | Confirmation object represents any true or false simple REST request |
Cdpp::confirmation_callback_t | The results of a REST call wrapped in a convenient struct |
Cdpp::connection | The connection object that the user has attached |
►Cdpp::detail::coroutine::coroutine_base< R > | Base class of dpp::coroutine<R> |
Cdpp::coroutine< R > | Base type for a coroutine, starts on co_await |
Cdpp::detail::std_coroutine::coroutine_traits< dpp::coroutine< R >, Args... > | Specialization of std::coroutine_traits, helps the standard library figure out a promise type from a coroutine function |
Cdpp::detail::std_coroutine::coroutine_traits< dpp::job, Args... > | Specialization of std::coroutine_traits, helps the standard library figure out a promise type from a coroutine function |
Cdpp::detail::std_coroutine::coroutine_traits< dpp::task< T >, Args... > | Specialization of std::coroutine_traits, helps the standard library figure out a promise_t type from a coroutine function |
Cdpp::dns_cache_entry | Represents a cached DNS result. Used by the ssl_client class to store cached copies of dns lookups |
Cdpp::utility::dummy< T > | Utility struct that has the same size and alignment as another but does nothing. Useful for ABI compatibility |
Cdpp::embed | A rich embed for display within a dpp::message |
Cdpp::embed_author | Author within a dpp::embed object |
Cdpp::embed_field | A dpp::embed may contain zero or more fields |
Cdpp::embed_footer | A footer in a dpp::embed |
Cdpp::embed_image | An video, image or thumbnail in a dpp::embed |
Cdpp::embed_provider | Embed provider in a dpp::embed. Received from discord but cannot be sent |
Cdpp::detail::when_any::empty | Empty result from void-returning awaitable |
Cdpp::detail::empty_tag_t | Empty struct used for overload resolution |
Cdpp::error_detail | The details of a field in an error response |
Cdpp::error_info | The full details of an error from a REST response |
Cdpp::etf_buffer | Represents a buffer of bytes being encoded into ETF |
Cdpp::etf_parser | The etf_parser class can serialise and deserialise ETF (Erlang Term Format) into and out of an nlohmann::json object, so that layers above the websocket don't have to be any different for handling ETF |
►Cdpp::events::event | An event object represents an event handled internally, passed from the websocket e.g. MESSAGE_CREATE |
Cdpp::events::automod_rule_create | Internal event handler for AUTO_MODERATION_RULE_CREATE websocket events. Called for each websocket message of this type |
Cdpp::events::automod_rule_delete | Internal event handler for AUTO_MODERATION_RULE_DELETE websocket events. Called for each websocket message of this type |
Cdpp::events::automod_rule_execute | Internal event handler for AUTO_MODERATION_ACTION_EXECUTION websocket events. Called for each websocket message of this type |
Cdpp::events::automod_rule_update | Internal event handler for AUTO_MODERATION_RULE_UPDATE websocket events. Called for each websocket message of this type |
Cdpp::events::channel_create | Internal event handler for CHANNEL_CREATE websocket events. Called for each websocket message of this type |
Cdpp::events::channel_delete | Internal event handler for CHANNEL_DELETE websocket events. Called for each websocket message of this type |
Cdpp::events::channel_pins_update | Internal event handler for CHANNEL_PINS_UPDATE websocket events. Called for each websocket message of this type |
Cdpp::events::channel_update | Internal event handler for CHANNEL_UPDATE websocket events. Called for each websocket message of this type |
Cdpp::events::guild_audit_log_entry_create | Internal event handler for GUILD_AUDIT_LOG_ENTRY_CREATE websocket events. Called for each websocket message of this type |
Cdpp::events::guild_ban_add | Internal event handler for GUILD_BAN_ADD websocket events. Called for each websocket message of this type |
Cdpp::events::guild_ban_remove | Internal event handler for GUILD_BAN_REMOVE websocket events. Called for each websocket message of this type |
Cdpp::events::guild_create | Internal event handler for GUILD_CREATE websocket events. Called for each websocket message of this type |
Cdpp::events::guild_delete | Internal event handler for GUILD_DELETE websocket events. Called for each websocket message of this type |
Cdpp::events::guild_emojis_update | Internal event handler for GUILD_EMOJIS_UPDATE websocket events. Called for each websocket message of this type |
Cdpp::events::guild_integrations_update | Internal event handler for GUILD_INTEGRATIONS_UPDATE websocket events. Called for each websocket message of this type |
Cdpp::events::guild_join_request_delete | Internal event handler for GUILD_JOIN_REQUEST_DELETE websocket events. Called for each websocket message of this type |
Cdpp::events::guild_member_add | Internal event handler for GUILD_MEMBER_ADD websocket events. Called for each websocket message of this type |
Cdpp::events::guild_member_remove | Internal event handler for GUILD_MEMBER_REMOVE websocket events. Called for each websocket message of this type |
Cdpp::events::guild_member_update | Internal event handler for GUILD_MEMBERS_UPDATE websocket events. Called for each websocket message of this type |
Cdpp::events::guild_members_chunk | Internal event handler for GUILD_MEMBERS_CHUNK websocket events. Called for each websocket message of this type |
Cdpp::events::guild_role_create | Internal event handler for GUILD_ROLE_CREATE websocket events. Called for each websocket message of this type |
Cdpp::events::guild_role_delete | Internal event handler for GUILD_ROLE_DELETE websocket events. Called for each websocket message of this type |
Cdpp::events::guild_role_update | Internal event handler for GUILD_ROLE_UPDATE websocket events. Called for each websocket message of this type |
Cdpp::events::guild_scheduled_event_create | Internal event handler for GUILD_SCHEDULED_EVENT_CREATE websocket events. Called for each websocket message of this type |
Cdpp::events::guild_scheduled_event_delete | Internal event handler for GUILD_SCHEDULED_EVENT_DELETE websocket events. Called for each websocket message of this type |
Cdpp::events::guild_scheduled_event_update | Internal event handler for GUILD_SCHEDULED_EVENT_UPDATE websocket events. Called for each websocket message of this type |
Cdpp::events::guild_scheduled_event_user_add | Internal event handler for GUILD_SCHEDULED_EVENT_USER_ADD websocket events. Called for each websocket message of this type |
Cdpp::events::guild_scheduled_event_user_remove | Internal event handler for GUILD_SCHEDULED_EVENT_USER_REMOVE websocket events. Called for each websocket message of this type |
Cdpp::events::guild_stickers_update | Internal event handler for GUILD_STICKERS_UPDATE websocket events. Called for each websocket message of this type |
Cdpp::events::guild_update | Internal event handler for GUILD_UPDATE websocket events. Called for each websocket message of this type |
Cdpp::events::integration_create | Internal event handler for INTEGRATION_CREATE websocket events. Called for each websocket message of this type |
Cdpp::events::integration_delete | Internal event handler for INTEGRATION_DELETE websocket events. Called for each websocket message of this type |
Cdpp::events::integration_update | Internal event handler for INTEGRATION_UPDATE websocket events. Called for each websocket message of this type |
Cdpp::events::interaction_create | Internal event handler for INTERACTION_CREATE websocket events. Called for each websocket message of this type |
Cdpp::events::invite_create | Internal event handler for INVITE_CREATE websocket events. Called for each websocket message of this type |
Cdpp::events::invite_delete | Internal event handler for INVITE_DELETE websocket events. Called for each websocket message of this type |
Cdpp::events::logger | Internal event handler for LOG websocket events. Called for each websocket message of this type |
Cdpp::events::message_create | Internal event handler for MESSAGE_CREATE websocket events. Called for each websocket message of this type |
Cdpp::events::message_delete | Internal event handler for MESSAGE_DELETE websocket events. Called for each websocket message of this type |
Cdpp::events::message_delete_bulk | Internal event handler for MESSAGE_DELETE_BULK websocket events. Called for each websocket message of this type |
Cdpp::events::message_reaction_add | Internal event handler for MESSAGE_REACTION_ADD websocket events. Called for each websocket message of this type |
Cdpp::events::message_reaction_remove | Internal event handler for MESSAGE_REACTION_REMOVE websocket events. Called for each websocket message of this type |
Cdpp::events::message_reaction_remove_all | Internal event handler for MESSAGE_REACTION_REMOVE_ALL websocket events. Called for each websocket message of this type |
Cdpp::events::message_reaction_remove_emoji | Internal event handler for MESSAGE_REACTION_REMOVE_EMOJI websocket events. Called for each websocket message of this type |
Cdpp::events::message_update | Internal event handler for MESSAGE_UPDATE websocket events. Called for each websocket message of this type |
Cdpp::events::presence_update | Internal event handler for PRESENCE_UPDATE websocket events. Called for each websocket message of this type |
Cdpp::events::ready | Internal event handler for READY websocket events. Called for each websocket message of this type |
Cdpp::events::resumed | Internal event handler for RESUMED websocket events. Called for each websocket message of this type |
Cdpp::events::stage_instance_create | Internal event handler for STAGE_INSTANCE_CREATE websocket events. Called for each websocket message of this type |
Cdpp::events::stage_instance_delete | Internal event handler for STAGE_INSTANCE_DELETE websocket events. Called for each websocket message of this type |
Cdpp::events::stage_instance_update | Internal event handler for STAGE_INSTANCE_UPDATE websocket events. Called for each websocket message of this type |
Cdpp::events::thread_create | Internal event handler for THREAD_CREATE websocket events. Called for each websocket message of this type |
Cdpp::events::thread_delete | Internal event handler for THREAD_DELETE websocket events. Called for each websocket message of this type |
Cdpp::events::thread_list_sync | Internal event handler for THREAD_LIST_SYNC websocket events. Called for each websocket message of this type |
Cdpp::events::thread_member_update | Internal event handler for THREAD_MEMBER_UPDATE websocket events. Called for each websocket message of this type |
Cdpp::events::thread_members_update | Internal event handler for THREAD_MEMBERS_UPDATE websocket events. Called for each websocket message of this type |
Cdpp::events::thread_update | Internal event handler for THREAD_UPDATE websocket events. Called for each websocket message of this type |
Cdpp::events::typing_start | Internal event handler for TYPING_START websocket events. Called for each websocket message of this type |
Cdpp::events::user_update | Internal event handler for USER_UPDATE websocket events. Called for each websocket message of this type |
Cdpp::events::voice_server_update | Internal event handler for VOICE_SERVER_UPDATE websocket events. Called for each websocket message of this type |
Cdpp::events::voice_state_update | Internal event handler for VOICE_STATE_UPDATE websocket events. Called for each websocket message of this type |
Cdpp::events::webhooks_update | Internal event handler for WEBHOOKS_UPDATE websocket events. Called for each websocket message of this type |
►Cdpp::event_dispatch_t | Base event parameter struct. Each event you receive from the library will have its parameter derived from this class. The class contains the raw event data, and a pointer to the current shard's dpp::discord_client object. You can also use this object to cancel the current event, meaning that any listeners after yours do not get notified of the current event if you call it |
Cdpp::automod_rule_create_t | Create automod rule |
Cdpp::automod_rule_delete_t | Delete automod rule |
Cdpp::automod_rule_execute_t | Execute/trigger automod rule |
Cdpp::automod_rule_update_t | Update automod rule |
Cdpp::channel_create_t | Create channel |
Cdpp::channel_delete_t | Delete channel |
Cdpp::channel_pins_update_t | Channel pins update |
Cdpp::channel_update_t | Update channel |
Cdpp::guild_audit_log_entry_create_t | Guild audit log entry create |
Cdpp::guild_ban_add_t | Guild ban add |
Cdpp::guild_ban_remove_t | Guild ban remove |
Cdpp::guild_create_t | Create guild |
Cdpp::guild_delete_t | Delete guild |
Cdpp::guild_emojis_update_t | Guild emojis update |
Cdpp::guild_integrations_update_t | Guild integrations update |
Cdpp::guild_join_request_delete_t | Guild join request delete (user declined membership screening) |
Cdpp::guild_member_add_t | Guild member add |
Cdpp::guild_member_remove_t | Guild member remove |
Cdpp::guild_member_update_t | Guild member update |
Cdpp::guild_members_chunk_t | Guild members chunk |
Cdpp::guild_role_create_t | Guild role create |
Cdpp::guild_role_delete_t | Guild role delete |
Cdpp::guild_role_update_t | Guild role update |
Cdpp::guild_scheduled_event_create_t | Create scheduled event |
Cdpp::guild_scheduled_event_delete_t | Delete scheduled event |
Cdpp::guild_scheduled_event_update_t | Create scheduled event |
Cdpp::guild_scheduled_event_user_add_t | Add user to scheduled event |
Cdpp::guild_scheduled_event_user_remove_t | Delete user from scheduled event |
Cdpp::guild_stickers_update_t | Update guild stickers |
Cdpp::guild_update_t | Guild update |
Cdpp::integration_create_t | Integration create |
Cdpp::integration_delete_t | Integration delete |
Cdpp::integration_update_t | Integration update |
►Cdpp::interaction_create_t | Create interaction |
Cdpp::autocomplete_t | Discord requests that we fill a list of auto completion choices for a command option |
Cdpp::button_click_t | Click on button |
►Cdpp::context_menu_t | Base class for context menu interactions, e.g. right click on user or message |
Cdpp::message_context_menu_t | Event parameter for context menu interactions for messages |
Cdpp::user_context_menu_t | Event parameter for context menu interactions for users |
Cdpp::form_submit_t | |
Cdpp::select_click_t | Click on select |
Cdpp::slashcommand_t | User has issued a slash command |
Cdpp::invite_create_t | Invite create |
Cdpp::invite_delete_t | Invite delete |
Cdpp::log_t | Log messages |
Cdpp::message_create_t | Create message |
Cdpp::message_delete_bulk_t | Message delete bulk |
Cdpp::message_delete_t | Message Deleted |
Cdpp::message_reaction_add_t | Message reaction add |
Cdpp::message_reaction_remove_all_t | Message remove all reactions |
Cdpp::message_reaction_remove_emoji_t | Message remove emoji |
Cdpp::message_reaction_remove_t | Message reaction remove |
Cdpp::message_update_t | Message update |
Cdpp::presence_update_t | Presence update |
Cdpp::ready_t | Session ready |
Cdpp::resumed_t | Session resumed |
Cdpp::stage_instance_create_t | Create stage instance |
Cdpp::stage_instance_delete_t | Delete stage instance |
Cdpp::stage_instance_update_t | Update stage instance |
Cdpp::thread_create_t | Thread Create |
Cdpp::thread_delete_t | Thread Delete |
Cdpp::thread_list_sync_t | Thread List Sync |
Cdpp::thread_member_update_t | Thread Member Update |
Cdpp::thread_members_update_t | Thread Members Update |
Cdpp::thread_update_t | Thread Update |
Cdpp::typing_start_t | Typing start |
Cdpp::user_update_t | User update |
Cdpp::voice_buffer_send_t | Voice buffer send |
Cdpp::voice_client_disconnect_t | Voice client disconnect event |
Cdpp::voice_client_speaking_t | Voice client speaking event |
Cdpp::voice_ready_t | Voice user talking |
Cdpp::voice_receive_t | Voice receive packet |
Cdpp::voice_server_update_t | Voice server update |
Cdpp::voice_state_update_t | Voice state update |
Cdpp::voice_track_marker_t | Voice state update |
Cdpp::voice_user_talking_t | Voice user talking |
Cdpp::webhooks_update_t | Webhooks update |
Cdpp::event_entities | Entities for the event |
Cdpp::event_member | Represents a guild member/user who has registered interest in an event |
Cdpp::event_router_t< T > | Handles routing of an event to multiple listeners. Multiple listeners may attach to the event_router_t by means of operator(). Passing a lambda into operator() attaches to the event |
►Cstd::exception | STL class |
►Cdpp::exception | The dpp::exception class derives from std::exception and supports some other ways of passing in error details such as via std::string |
Cdpp::cache_exception | Represents invalid access to dpp's cache or its members, which may or may not exist |
Cdpp::connection_exception | Represents an error establishing or maintaining a connection |
Cdpp::file_exception | Represents an error reading or writing to a file |
Cdpp::length_exception | Represents invalid length of argument being passed to a function |
Cdpp::logic_exception | Represents an error in logic, e.g. you asked the library to do something the Discord API does not support |
Cdpp::parse_exception | Represents inability to parse data, usually caused by malformed JSON or ETF |
►Cdpp::rest_exception | Represents an error on a REST API call, e.g. a HTTPS request |
Cdpp::invalid_token_exception | Represents an attempt to construct a cluster with an invalid bot token |
Cdpp::task_cancelled_exception | Represents the cancellation of a task. Will be thrown to the awaiter of a cancelled task |
Cdpp::voice_exception | Represents an error with voice processing |
Cdpp::detail::coroutine::final_awaiter< R > | Struct returned by a coroutine's final_suspend, resumes the continuation |
Cdpp::detail::task::final_awaiter< R > | The object automatically co_await-ed at the end of a task. Ensures nested coroutine chains are resolved, and the promise_t cleans up if it needs to |
Cdpp::gateway | Represents the various information from the 'get gateway bot' api call |
Cdpp::guild_member | Represents dpp::user membership upon a dpp::guild. This contains the user's nickname, guild roles, and any other guild-specific flags |
Cdpp::guild_widget | Represents a guild widget, simple web widget of member list |
Cstd::hash< dpp::snowflake > | |
Cdpp::http_connect_info | Represents a HTTP scheme, hostname and port split into parts for easy use in https_client |
Cdpp::http_request | A HTTP request |
Cdpp::http_request_completion_t | The result of any HTTP request. Contains the headers, vital rate limit figures, and returned request body |
Cdpp::utility::iconhash | Store a 128 bit icon hash (profile picture, server icon etc) as a 128 bit binary value made of two uint64_t. Has a constructor to build one from a string, and a method to fetch the value back in string form |
Cdpp::in_thread | Represents a thread in the thread pool handling requests to HTTP(S) servers. There are several of these, the total defined by a constant in queues.cpp, and each one will always receive requests for the same rate limit bucket based on its endpoint portion of the url. This makes rate limit handling reliable and easy to manage. Each of these also has its own mutex, so that requests are less likely to block while waiting for internal containers to be usable |
Cdpp::component::inner_emoji | |
Cdpp::select_option::inner_select_emoji | Emoji definition. To set an emoji on your button you must set one of either the name or id fields. The easiest way is to use the component::set_emoji method |
Cdpp::integration_app | An application that has been integrated |
Cdpp::job | Extremely light coroutine object designed to send off a coroutine to execute on its own. Can be used in conjunction with coroutine events via event routers, or on its own |
Cdpp::json_interface< T > | Represents an interface for an object that can optionally implement functions for converting to and from nlohmann::json. In the event either parse_from_json() or build_json() are not implemented and are called, they will throw at runtime |
►Cdpp::json_interface< application > | |
Cdpp::application | The application class represents details of a bot application |
►Cdpp::json_interface< application_role_connection > | |
Cdpp::application_role_connection | The application role connection that an application has attached to a user |
►Cdpp::json_interface< application_role_connection_metadata > | |
Cdpp::application_role_connection_metadata | Application Role Connection Metadata. Represents a role connection metadata for an dpp::application |
►Cdpp::json_interface< audit_entry > | |
Cdpp::audit_entry | An individual audit log entry |
►Cdpp::json_interface< auditlog > | |
Cdpp::auditlog | The auditlog class represents the audit log entries of a guild |
►Cdpp::json_interface< automod_action > | |
Cdpp::automod_action | Represents an automod action |
►Cdpp::json_interface< automod_metadata > | |
Cdpp::automod_metadata | Metadata associated with an automod action. Different fields are relevant based on the value of dpp::automod_rule::trigger_type |
►Cdpp::json_interface< automod_rule > | |
Cdpp::automod_rule | Represents an automod rule |
►Cdpp::json_interface< ban > | |
Cdpp::ban | The ban class represents a ban on a guild |
►Cdpp::json_interface< channel > | |
►Cdpp::channel | A definition of a discord channel. There are one of these for every channel type except threads. Threads are special snowflakes. Get it? A Discord pun. Hahaha. .... I'll get my coat |
Cdpp::thread | A definition of a discord thread. A thread is a superset of a channel. Not to be confused with std::thread ! |
►Cdpp::json_interface< command_option > | |
Cdpp::command_option | Each command option is a command line parameter. It can have a type (see dpp::command_option_type), a name, a description, can be required or optional, and can have zero or more choices (for multiple choice), plus options. Adding options acts like sub-commands and can contain more options |
►Cdpp::json_interface< command_option_choice > | |
Cdpp::command_option_choice | This struct represents choices in a multiple choice option for a command parameter. It has both a string name, and a value parameter which is a variant, meaning it can hold different potential types (see dpp::command_value) that you can retrieve with std::get() |
►Cdpp::json_interface< command_permission > | |
Cdpp::command_permission | Application command permissions allow you to enable or disable commands for specific users or roles within a guild |
►Cdpp::json_interface< component > | |
Cdpp::component | Represents the component object. A component is a clickable button or drop down list within a discord message, where the buttons emit on_button_click events when the user interacts with them |
►Cdpp::json_interface< dtemplate > | |
Cdpp::dtemplate | Represents a guild template |
►Cdpp::json_interface< emoji > | |
Cdpp::emoji | Represents an emoji for a dpp::guild |
►Cdpp::json_interface< forum_tag > | |
Cdpp::forum_tag | Represents a tag that is able to be applied to a thread in a forum or media channel |
►Cdpp::json_interface< guild > | |
Cdpp::guild | Represents a guild on Discord (AKA a server) |
►Cdpp::json_interface< guild_command_permissions > | |
Cdpp::guild_command_permissions | Returned when fetching the permissions for a command in a guild |
►Cdpp::json_interface< integration > | |
Cdpp::integration | Represents an integration on a guild, e.g. a connection to twitch |
►Cdpp::json_interface< interaction > | |
Cdpp::interaction | An interaction represents a user running a command and arrives via the dpp::cluster::on_interaction_create event. This is further split into the events on_form_submit, on_slashcommand, on_user_context_menu, on_button_click, on_select_menu, etc |
►Cdpp::json_interface< interaction_modal_response > | |
Cdpp::interaction_modal_response | Represents a modal dialog box response to an interaction |
►Cdpp::json_interface< interaction_response > | |
►Cdpp::interaction_response | A response to an interaction, used to reply to a command and initiate a message, which can be hidden from others (ephemeral) or visible to all |
Cdpp::interaction_modal_response | Represents a modal dialog box response to an interaction |
►Cdpp::json_interface< invite > | |
Cdpp::invite | Represents an invite to a discord guild or channel |
►Cdpp::json_interface< onboarding > | |
Cdpp::onboarding | Represents a guild's onboarding flow |
►Cdpp::json_interface< onboarding_prompt > | |
Cdpp::onboarding_prompt | Represents an onboarding prompt |
►Cdpp::json_interface< onboarding_prompt_option > | |
Cdpp::onboarding_prompt_option | Represents an onboarding prompt option |
►Cdpp::json_interface< presence > | |
Cdpp::presence | Represents user presence, e.g. what game they are playing and if they are online |
►Cdpp::json_interface< prune > | |
Cdpp::prune | Defines a request to count prunable users, or start a prune operation |
►Cdpp::json_interface< role > | |
Cdpp::role | Represents 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 |
►Cdpp::json_interface< scheduled_event > | |
Cdpp::scheduled_event | A scheduled event |
►Cdpp::json_interface< select_option > | |
Cdpp::select_option | An option for a select component |
►Cdpp::json_interface< slashcommand > | |
Cdpp::slashcommand | Represents an application command, created by your bot either globally, or on a guild |
►Cdpp::json_interface< stage_instance > | |
Cdpp::stage_instance | A stage instance. Stage instances are like a conference facility, with moderators/speakers and listeners |
►Cdpp::json_interface< sticker > | |
Cdpp::sticker | Represents stickers received in messages |
►Cdpp::json_interface< sticker_pack > | |
Cdpp::sticker_pack | Represents a sticker pack (the built in groups of stickers that all nitro users get to use) |
►Cdpp::json_interface< user > | |
►Cdpp::user | Represents a user on discord. May or may not be a member of a dpp::guild |
Cdpp::user_identified | A 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 |
►Cdpp::json_interface< user_identified > | |
Cdpp::user_identified | A 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 |
►Cdpp::json_interface< voiceregion > | |
Cdpp::voiceregion | Represents a voice region on discord |
►Cdpp::json_interface< voicestate > | |
Cdpp::voicestate | Represents 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 |
►Cdpp::json_interface< webhook > | |
Cdpp::webhook | Represents a discord webhook |
►Cdpp::json_interface< welcome_channel > | |
Cdpp::welcome_channel | Defines a channel on a server's welcome screen |
►Cdpp::json_interface< welcome_screen > | |
Cdpp::welcome_screen | Defines a server's welcome screen |
►Cdpp::managed | The managed class is the base class for various types that can be stored in a cache that are identified by a dpp::snowflake id |
Cdpp::application | The application class represents details of a bot application |
Cdpp::automod_rule | Represents an automod rule |
Cdpp::channel | A definition of a discord channel. There are one of these for every channel type except threads. Threads are special snowflakes. Get it? A Discord pun. Hahaha. .... I'll get my coat |
Cdpp::collected_reaction | Represents a reaction. Can be filled for use in a collector |
Cdpp::emoji | Represents an emoji for a dpp::guild |
Cdpp::forum_tag | Represents a tag that is able to be applied to a thread in a forum or media channel |
Cdpp::guild | Represents a guild on Discord (AKA a server) |
Cdpp::integration | Represents an integration on a guild, e.g. a connection to twitch |
Cdpp::interaction | An interaction represents a user running a command and arrives via the dpp::cluster::on_interaction_create event. This is further split into the events on_form_submit, on_slashcommand, on_user_context_menu, on_button_click, on_select_menu, etc |
Cdpp::message | Represents messages sent and received on Discord |
Cdpp::onboarding_prompt | Represents an onboarding prompt |
Cdpp::onboarding_prompt_option | Represents an onboarding prompt option |
Cdpp::role | Represents 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 |
Cdpp::scheduled_event | A scheduled event |
Cdpp::slashcommand | Represents an application command, created by your bot either globally, or on a guild |
Cdpp::stage_instance | A stage instance. Stage instances are like a conference facility, with moderators/speakers and listeners |
Cdpp::sticker | Represents stickers received in messages |
Cdpp::sticker_pack | Represents a sticker pack (the built in groups of stickers that all nitro users get to use) |
Cdpp::user | Represents a user on discord. May or may not be a member of a dpp::guild |
Cdpp::webhook | Represents a discord webhook |
Cdpp::message::message_interaction_struct | Reference to an interaction |
Cdpp::message::message_ref | Reference to another message, e.g. a reply |
Cdpp::moving_averager | |
Cdpp::multipart_content | Represents 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 |
Cdpp::oneshot_timer | Trigger a timed event once. The provided callback is called only once |
Cdpp::param_info | Details 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 |
Cdpp::permission | Represents a permission bitmask (refer to enum dpp::permissions) which are held in an uint64_t |
Cdpp::permission_overwrite | Channel permission overwrites |
Cdpp::detail::job::promise< Args > | Coroutine promise type for a job |
►Cdpp::detail::task::promise_base | Base implementation of task::promise_t, without the logic that would depend on the return type. Meant to be inherited from |
Cdpp::detail::task::promise_t< R > | A task's promise_t type, with special logic for handling nested tasks |
Cdpp::detail::task::promise_t< void > | Implementation of task::promise_t for void return type |
Cdpp::detail::coroutine::promise_t< R > | Promise type for coroutine |
Cdpp::detail::coroutine::promise_t< void > | Struct returned by a coroutine's final_suspend, resumes the continuation |
Cdpp::detail::task::promise_base::proxy_awaiter< A > | Proxy awaitable that wraps any co_await inside the task and checks for cancellation on resumption |
Cdpp::reaction | Represents a reaction to a dpp::message |
Cdpp::request_queue | The request_queue class manages rate limits and marshalls HTTP requests that have been built as http_request objects |
Cdpp::resolved_user | Dpp::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 |
Cdpp::when_any< Args >::result | Object returned by operator co_await() on resumption. Can be moved but not copied |
Cdpp::discord_voice_client::voice_payload_parking_lot::seq_range_t | The range of RTP packet sequence number and timestamp in the lot |
Cdpp::snowflake | A container for a 64 bit unsigned value representing many things on discord. This value is known in distributed computing as a snowflake value |
►Cdpp::ssl_client | Implements a simple non-blocking SSL stream client |
Cdpp::https_client | Implements a HTTPS socket client based on the SSL client |
►Cdpp::websocket_client | Implements a websocket client based on the SSL client |
Cdpp::discord_client | Implements a discord client. Each discord_client connects to one shard and derives from a websocket client |
Cdpp::discord_voice_client | Implements a discord voice connection. Each discord_voice_client connects to one voice channel and derives from a websocket client |
►Cdpp::detail::task::task_base< R > | Base class of dpp::task |
Cdpp::task< R > | A coroutine task. It starts immediately on construction and can be co_await-ed, making it perfect for parallel coroutines returning a value |
Cdpp::team_member | Represents a team member on a team who maintain a bot/application |
Cdpp::thread_member | Represents membership of a user with a thread |
Cdpp::thread_metadata | Metadata for threads |
Cdpp::timed_listener< attached_event, listening_function > | A 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 |
Cdpp::timer_t | Used internally to store state of active timers |
Cdpp::type_punner | A horrible structure used within the ETF parser to convert uint64_t to double and back. This is horrible, but it is the official way erlang term format does this, so we can't really mess with it much |
Cdpp::utility::uptime | A class used to represent an uptime in hours, minutes, seconds and days, with helper functions to convert from time_t and display as a string |
Cdpp::version_checker | |
Cdpp::voice_out_packet | An opus-encoded RTP packet to be sent out to a voice channel |
Cdpp::voiceconn | Represents 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 |
Cdpp::when_any< Args > | Experimental 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 |