Created the slash.cpp

This commit is contained in:
Mathias Wagner 2023-10-29 16:33:48 +01:00
parent 2b36e6f8b3
commit 83c0f2eb92
Signed by: Mathias
GPG Key ID: B8DC354B0A1F5B44

6
src/listeners/slash.cpp Normal file
View File

@ -0,0 +1,6 @@
#include "slash.h"
#include "commands/rules.h"
void slash::execute(dpp::cluster &bot, const dpp::slashcommand_t &event) {
if (event.command.get_command_name() == "rules") return rules::execute(bot, event);
}