diff options
author | Cara Salter <cara@devcara.com> | 2023-04-15 10:37:45 -0400 |
---|---|---|
committer | Cara Salter <cara@devcara.com> | 2023-04-15 10:37:45 -0400 |
commit | 5058c8bbeff6b659787a8ab482ac89fc4a194076 (patch) | |
tree | ef768f7aa54482469c38e5bb818f96740dae85a0 /src/bot.cpp | |
parent | 8edf3bf0ca81b942a165cde3bdea11ca755da955 (diff) | |
download | 142bot-5058c8bbeff6b659787a8ab482ac89fc4a194076.tar.gz 142bot-5058c8bbeff6b659787a8ab482ac89fc4a194076.zip |
init spotify
Change-Id: I6796976649ee59f4e647148e77d76effa7315f73
Diffstat (limited to 'src/bot.cpp')
-rw-r--r-- | src/bot.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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 */ |