command 'command' added

This commit is contained in:
urlbot
2014-08-09 21:09:39 +02:00
parent 1daa49d690
commit 236a393a80

View File

@@ -169,6 +169,9 @@ def parse_commands(data):
if 'hangup' in data:
chat_write('', prefix='/quit')
logger('warn', 'received hangup: ' + data)
elif 'command' in data:
if ratelimit_exceeded(): return False
chat_write(reply_user + (""": known commands: 'command', 'info', 'hangup', 'ping', 'uptime'"""))
elif 'uptime' in data:
if ratelimit_exceeded(): return False