1
0

make commands case insensetive

This commit is contained in:
Akbar Rahman 2018-06-24 17:45:53 +01:00
parent cea9eb1eab
commit 95ebace08f
Signed by: alvierahman90
GPG Key ID: 20609519444A1269

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']: