From 83c0f2eb92dd42a4932090a606dc69fed7a7e25a Mon Sep 17 00:00:00 2001 From: Mathias Wagner Date: Sun, 29 Oct 2023 16:33:48 +0100 Subject: [PATCH] Created the slash.cpp --- src/listeners/slash.cpp | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 src/listeners/slash.cpp diff --git a/src/listeners/slash.cpp b/src/listeners/slash.cpp new file mode 100644 index 0000000..e375b96 --- /dev/null +++ b/src/listeners/slash.cpp @@ -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); +} \ No newline at end of file