From 12f09c7e9a770887426d33efb23eaf5e410ef08b Mon Sep 17 00:00:00 2001 From: Mathias Wagner Date: Sun, 29 Oct 2023 14:23:21 +0100 Subject: [PATCH] Created the ready.h --- src/listeners/ready.h | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 src/listeners/ready.h diff --git a/src/listeners/ready.h b/src/listeners/ready.h new file mode 100644 index 0000000..f213753 --- /dev/null +++ b/src/listeners/ready.h @@ -0,0 +1,21 @@ +#ifndef BOT_READY_H +#define BOT_READY_H + +#include + +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 \ No newline at end of file