Added the sql::Connection to the slash::execute function

This commit is contained in:
Mathias Wagner 2023-11-04 12:21:47 +01:00
parent 6f9eeaf4c6
commit 55b4925b2a
Signed by: Mathias
GPG Key ID: B8DC354B0A1F5B44

View File

@ -2,10 +2,11 @@
#define BOT_SLASH_H
#include <dpp/dpp.h>
#include <mariadb/conncpp.hpp>
class slash {
public:
static void execute(dpp::cluster &bot, const dpp::slashcommand_t &event);
static void execute(sql::Connection &con, dpp::cluster &bot, const dpp::slashcommand_t &event);
};
#endif //BOT_SLASH_H