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::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::button_interaction | A button click for a button component |
Cdpp::cache | A cache object maintains a cache of dpp::managed objects. This is for example users, channels or guilds |
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_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_resolved | Resolved snowflake ids to usernames. TODO: Needs implementation. Not needed something that functions as we have cache |
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::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::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 |
Cdpp::gateway | Represents the various information from the 'get gateway bot' api call |
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::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 |
Chttplib::MultipartFormData | |
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 |
Chttplib::Response | |
Chttplib::Result | |
Chttplib::Server | |
Chttplib::ClientImpl::Socket | |
►Cdpp::ssl_client | Implements a simple non-blocking SSL stream client |
Chttplib::Stream | |
►Chttplib::TaskQueue | |
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 |