Added the sql::Connection to the slash::execute function
This commit is contained in:
parent
6f9eeaf4c6
commit
55b4925b2a
@ -2,10 +2,11 @@
|
|||||||
#define BOT_SLASH_H
|
#define BOT_SLASH_H
|
||||||
|
|
||||||
#include <dpp/dpp.h>
|
#include <dpp/dpp.h>
|
||||||
|
#include <mariadb/conncpp.hpp>
|
||||||
|
|
||||||
class slash {
|
class slash {
|
||||||
public:
|
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
|
#endif //BOT_SLASH_H
|
||||||
|
Loading…
x
Reference in New Issue
Block a user