1
0

make commands case insensetive

This commit is contained in:
2018-06-24 17:45:53 +01:00
parent cea9eb1eab
commit 95ebace08f

2
bot.py
View File

@@ -22,7 +22,7 @@ def on_message(msg):
return
text = msg['text']
command = text.split(' ')[0]
command = text.split(' ')[0].lower()
arguments = text.split(' ')[1:]
if command in ['add', '/add']: