D++ (DPP)  10.0.30
C++ Discord API Bot Library
cluster.cpp File Reference
#include <map>
#include <dpp/exception.h>
#include <dpp/cluster.h>
#include <dpp/discordclient.h>
#include <dpp/discordevents.h>
#include <dpp/message.h>
#include <dpp/cache.h>
#include <dpp/once.h>
#include <dpp/sync.h>
#include <chrono>
#include <iostream>
#include <dpp/json.h>
#include <utility>
#include <algorithm>
Include dependency graph for cluster.cpp:

Namespaces

 dpp
 The main namespace for D++ functions.
 

Functions

json dpp::error_response (const std::string &message, http_request_completion_t &rv)
 Given an error exception from nlohmann::json, turn it into a discord-style error object that can be parsed by the get_error() function. More...
 
template<typename T >
std::function< void(const T &)> dpp::make_intent_warning (cluster *cl, const intents required_intent, const std::string &message)
 Make a warning lambda for missing message intents. More...
 
template<build_type >
bool dpp::validate_configuration ()
 
template bool DPP_EXPORT dpp::validate_configuration< build_type::debug > ()
 
template bool DPP_EXPORT dpp::validate_configuration< build_type::release > ()
 
template bool DPP_EXPORT dpp::validate_configuration< build_type::universal > ()
 

Variables

thread_local std::string dpp::audit_reason
 An audit reason for each thread. More...