diff --git a/src/main.cpp b/src/main.cpp index 7442f7d..920eee2 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -20,6 +20,8 @@ int main(int argc, char **argv) { cluster bot(configuration["token"], dpp::i_default_intents | dpp::i_message_content); + bot.on_log(dpp::utility::cout_logger()); + bot.on_slashcommand([&bot, &con](const slashcommand_t &event) { slash::execute(*con, bot, event); }); bot.on_message_create([&bot, &con](const message_create_t &event) { global::execute(*con, bot, event); });