#ifndef BOT_GLOBAL_H #define BOT_GLOBAL_H #include #include class global { public: /** * @brief Sends a message to the webhook * @param url The webhook url * @param bot The bot * @param event The event */ static void send(const std::string &url, dpp::cluster &bot, const dpp::message_create_t &event); /** * @brief Executes the global listener * @param con The database connection * @param bot The bot * @param event The event */ static void execute(sql::Connection &con, dpp::cluster &bot, const dpp::message_create_t &event); }; #endif //BOT_GLOBAL_H