Created the ready.h

This commit is contained in:
Mathias Wagner 2023-10-29 14:23:21 +01:00
parent 7ddf4297ed
commit 12f09c7e9a
Signed by: Mathias
GPG Key ID: B8DC354B0A1F5B44

21
src/listeners/ready.h Normal file
View File

@ -0,0 +1,21 @@
#ifndef BOT_READY_H
#define BOT_READY_H
#include <dpp/dpp.h>
class ready {
public:
/**
* @brief Gets the status thread
* @param bot The bot
* @return The status thread
*/
static std::thread get_status_thread(dpp::cluster &bot);
/**
* @brief Executes when the bot is ready
* @param event The ready event
*/
static void execute(dpp::cluster &bot, const dpp::ready_t &event);
};
#endif //BOT_READY_H