diff --git a/src/listeners/slash.cpp b/src/listeners/slash.cpp index 0614557..bc061e5 100644 --- a/src/listeners/slash.cpp +++ b/src/listeners/slash.cpp @@ -2,9 +2,11 @@ #include "commands/rules.h" #include "commands/add.h" #include "commands/remove.h" +#include "commands/clear.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); + if (event.command.get_command_name() == "clear") return clear::execute(con, bot, event); } \ No newline at end of file