From 5058c8bbeff6b659787a8ab482ac89fc4a194076 Mon Sep 17 00:00:00 2001 From: Cara Salter Date: Sat, 15 Apr 2023 10:37:45 -0400 Subject: init spotify Change-Id: I6796976649ee59f4e647148e77d76effa7315f73 --- src/bot.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/bot.cpp') diff --git a/src/bot.cpp b/src/bot.cpp index d5f21de..2bc6a6b 100644 --- a/src/bot.cpp +++ b/src/bot.cpp @@ -150,7 +150,7 @@ void Bot::onMessage(const dpp::message_create_t &message) { result.push_back(std::string(begin, str)); } while (0 != *str++); core->log(dpp::ll_debug, "Attempting to call FOREACH_MOD"); - FOREACH_MOD(I_OnCommand,OnCommand(message, result[0], result)); + FOREACH_MOD(I_OnCommand,OnCommand(message, lowercase(result[0].erase(0,1)), result)); } else { /* Call modules */ -- cgit v1.2.3