Integrated the remove command into the slash.cpp
This commit is contained in:
parent
770c0a6d21
commit
dfd5c295d5
@ -1,8 +1,10 @@
|
||||
#include "slash.h"
|
||||
#include "commands/rules.h"
|
||||
#include "commands/add.h"
|
||||
#include "commands/remove.h"
|
||||
|
||||
void slash::execute(sql::Connection &con, dpp::cluster &bot, const dpp::slashcommand_t &event) {
|
||||
if (event.command.get_command_name() == "rules") return rules::execute(event);
|
||||
if (event.command.get_command_name() == "add") return add::execute(con, bot, event);
|
||||
if (event.command.get_command_name() == "remove") return remove::execute(con, bot, event);
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user