mirror of
http://aero2k.de/t/repos/urlbot-native.git
synced 2017-09-06 15:25:38 +02:00
command 'command' added
This commit is contained in:
@@ -169,6 +169,9 @@ def parse_commands(data):
|
|||||||
if 'hangup' in data:
|
if 'hangup' in data:
|
||||||
chat_write('', prefix='/quit')
|
chat_write('', prefix='/quit')
|
||||||
logger('warn', 'received hangup: ' + data)
|
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:
|
elif 'uptime' in data:
|
||||||
if ratelimit_exceeded(): return False
|
if ratelimit_exceeded(): return False
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user