droplet 1.1.0
A multipurpose Discord bot with the hacker in mind
Loading...
Searching...
No Matches
Core.cpp File Reference
#include <dpp/permissions.h>
#include <dpp/timer.h>
#include <Core.hpp>
#include <array>
#include <chrono>
#include <ratio>
#include <regex>
#include <thread>
#include <variant>
#include <vector>
Include dependency graph for Core.cpp:

Functions

template<typename CMD_TYPE >
void timed_reply_template (dpp::cluster &bot, const CMD_TYPE event, const std::string &message, size_t time_mills) noexcept
 template for timed replies
 
template<typename CMD_TYPE >
void timed_reply_private_template (dpp::cluster &bot, const CMD_TYPE event, const std::string &message, size_t time_mills) noexcept
 template for private timed replies
 

Function Documentation

◆ timed_reply_private_template()

template<typename CMD_TYPE >
void timed_reply_private_template ( dpp::cluster & bot,
const CMD_TYPE event,
const std::string & message,
size_t time_mills )
noexcept

template for private timed replies

Parameters
botthe cluster that can be thought of the current bot instance
eventthe event to be replied to
messagethe text to be put into the reply message
time_millsthe time to display the reply in milliseconds
Returns
doesn't return

◆ timed_reply_template()

template<typename CMD_TYPE >
void timed_reply_template ( dpp::cluster & bot,
const CMD_TYPE event,
const std::string & message,
size_t time_mills )
noexcept

template for timed replies

Parameters
botthe cluster that can be thought of the current bot instance
eventthe event to be replied to
messagethe text to be put into the reply message
time_millsthe time to display the reply in milliseconds
Returns
doesn't return