rr/dockerize
Will Hunt 2016-03-21 11:59:19 +00:00
parent abdf2f5cfd
commit 41934d2f3b
1 changed files with 2 additions and 2 deletions

View File

@ -57,8 +57,8 @@ class CmdListener:
cmd = event['content']['body']
body = cmd.lower()
if body.startswith('mpddj:') or body.startswith('!mpddj'):
self.__parse_command(body[6:],cmd[6:])
elif body.startswith('MPD DJ:'):
self.__parse_command(body[6:],event,cmd[6:])
elif body.startswith('mpd dj:'):
self.__parse_command(body[7:],event,cmd[7:])
def __on_cmd(self,event):