fix: radio issue

This commit is contained in:
Terry Geng
2020-03-08 23:08:47 +08:00
parent d3fc12ef9c
commit e2f6de5066
3 changed files with 24 additions and 11 deletions

View File

@@ -215,7 +215,7 @@ class MumbleBot:
# use the first word as a command, the others one as parameters
if len(message) > 0:
command = message[0]
command = message[0].lower()
parameter = ''
if len(message) > 1:
parameter = message[1].rstrip()