droplet 1.1.0
A multipurpose Discord bot with the hacker in mind
|
#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>
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 | |
|
noexcept |
template for private timed replies
bot | the cluster that can be thought of the current bot instance |
event | the event to be replied to |
message | the text to be put into the reply message |
time_mills | the time to display the reply in milliseconds |
|
noexcept |
template for timed replies
bot | the cluster that can be thought of the current bot instance |
event | the event to be replied to |
message | the text to be put into the reply message |
time_mills | the time to display the reply in milliseconds |