From 80d1fb4a3afabb17d9bb04d6571704baca7158c4 Mon Sep 17 00:00:00 2001 From: Alvie Rahman Date: Thu, 9 Aug 2018 19:54:43 +0100 Subject: [PATCH] Fix bug where not using add command resulted in loss of capitalization of first word --- bot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bot.py b/bot.py index fa94950..0ad2336 100755 --- a/bot.py +++ b/bot.py @@ -34,7 +34,7 @@ def on_message(msg): return text = msg['text'] - command = text.split(' ')[0].lower() + command = text.split(' ')[0] arguments = text.split(' ')[1:] if command == '/last':