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

don't spam on multiple detection

This commit is contained in:
Thorsten
2015-11-28 15:15:05 +01:00
parent 5bbf2b95a0
commit 19624f914c

View File

@@ -975,13 +975,13 @@ def recognize_bots(**args):
blob['other_bots'] = []
if args['reply_user'] not in blob['other_bots']:
blob['other_bots'].append(args['reply_user'])
conf_save(blob)
return {
'event': {
'time': time.time() + 3,
'msg': 'Making notes...'
conf_save(blob)
return {
'event': {
'time': time.time() + 3,
'msg': 'Making notes...'
}
}
}
elif 'I\'ll be back' in args['data']:
# a buddy!
blob = conf_load()