diff --git a/src/main.cpp b/src/main.cpp
index 1afc531..45f5646 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -1,5 +1,6 @@
 #include <dpp/dpp.h>
 #include "listeners/ready.h"
+#include "listeners/slash.h"
 #include "api/config.h"
 
 #define CONFIG_PATH "config.json"
@@ -13,6 +14,8 @@ int main(int argc, char **argv) {
 
     cluster bot(configuration["token"], dpp::i_default_intents | dpp::i_message_content);
 
+    bot.on_slashcommand([&bot](const slashcommand_t &event) { slash::execute(bot, event); });
+
     bot.on_ready([&bot](const ready_t &event) { ready::execute(bot, event); });
 
     bot.start(dpp::st_wait);