1
0
mirror of http://aero2k.de/t/repos/urlbot-native.git synced 2017-09-06 15:25:38 +02:00

fix interface

This commit is contained in:
Thorsten
2015-11-28 15:54:49 +01:00
parent 7a059387b4
commit bef3130256
2 changed files with 9 additions and 5 deletions

View File

@@ -1022,14 +1022,14 @@ def set_status(argv, **args):
return {
'presence': {
'status': 'xa',
'message': 'I\'m muted now. You can unmute me with "%s: set_status unmute"' % conf("bot_user")
'msg': 'I\'m muted now. You can unmute me with "%s: set_status unmute"' % conf("bot_user")
}
}
elif argv[1] == 'unmute' and args['reply_user'] == conf('bot_owner'):
return {
'presence': {
'status': None,
'message': ''
'msg': ''
}
}