D++ (DPP)
C++ Discord API Bot Library
|
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::message::allowed_ref | |
Cdpp::attachment | Represents an attachment in a dpp::message |
Cdpp::audit_change | Defines audit log changes |
Cdpp::audit_entry | An individual audit log entry |
Cdpp::audit_extra | Extra information for an audit log entry |
Cdpp::auditlog | The auditlog class represents the audit log entry of a guild |
Cdpp::ban | The ban class represents a ban on a guild |
Cdpp::bucket_t | |
Cdpp::cache | A cache object maintains a cache of dpp::managed objects. This is for example users, channels or guilds |
Cdpp::cache_policy_t | Represents the caching policy of the cluster |
Chttplib::detail::ci | |
Chttplib::Client | |
Chttplib::ClientImpl | |
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::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::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::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::command_permission | Application command permissions allow you to enable or disable commands for specific users or roles within a guild |
Cdpp::command_resolved | Resolved snowflake ids to users, guild members, roles and channels |
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 | 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::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 |
Chttplib::ContentReader | |
Chttplib::DataSink | |
Cdpp::dispatcher | The dispatcher class contains a set of std::functions representing hooked events that the user code is interested in. These are modified via the on_eventname style methods in the cluster class |
Cdpp::dtemplate | Represents a guild template |
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::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::events::event | An event object represents an event handled internally, passed from the websocket e.g. MESSAGE_CREATE |
►Cdpp::event_dispatch_t | Base event parameter struct |
►Cstd::exception | STL class |
Cdpp::gateway | Represents the various information from the 'get gateway bot' api call |
Cdpp::guild_command_permissions | Returned when fetching the permissions for a command in a guild |
Cdpp::guild_member | Represents dpp::user membership upon a dpp::guild |
Cdpp::guild_widget | Represents a guild widget, simple web widget of member list |
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::component::inner_emoji | |
Cdpp::select_option::inner_select_emoji | |
Cdpp::integration_app | An application that has been integrated |
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::invite | Represents an invite to a discord guild or channel |
►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::message | Represents messages sent and received on Discord |
Cdpp::message::message_interaction_struct | |
Cdpp::message::message_ref | |
Chttplib::MultipartFormData | |
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_overwrite | Channel permission overwrites |
Cdpp::presence | Represents user presence, e.g. what game they are playing and if they are online |
Cdpp::prune | Defines a request to count prunable users, or start a prune operation |
Cdpp::reaction | Represets a reaction to a dpp::message |
Chttplib::Request | |
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 |
Chttplib::Response | |
Chttplib::Result | |
Cdpp::select_option | |
Chttplib::Server | |
Chttplib::ClientImpl::Socket | |
►Cdpp::ssl_client | Implements a simple non-blocking SSL stream client |
Cdpp::sticker | Represents stickers received in messages |
Cdpp::sticker_pack | |
Chttplib::Stream | |
►Chttplib::TaskQueue | |
Cdpp::thread_member | Represents membership of a user with a thread |
Cdpp::thread_metadata | Metadata for threads |
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::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::voiceregion | Represents a voice region on discord |
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 |