0693b366 by Barry

Bug fix for the blocker.

1 parent da26ef74
...@@ -526,13 +526,14 @@ Stuff: ...@@ -526,13 +526,14 @@ Stuff:
526 if not data: 526 if not data:
527 data = [] 527 data = []
528 try: 528 try:
529 if 'aa737a5846' in message.content: 529 if 'aa737a5846' in message.content[12:]:
530 client.send_message(message.channel, '{} you stop it, your a pedofile {}, stop looking at little girls.'.format(message.author.mention())) 530 client.send_message(message.channel, '{} you stop it, you are a pedofile, stop looking at little girls.'.format(message.author.mention()))
531 return 531 return
532 532
533 data.append(byteify(message.content[12:])) 533 data.append(byteify(message.content[12:]))
534 jdata = json.dumps(data, ensure_ascii=False) 534 jdata = json.dumps(data, ensure_ascii=False)
535 except: 535 except Exception as e:
536 print e.message
536 client.send_message(message.channel, 'Your shitty fortune has been rejected {}.'.format(message.author.mention())) 537 client.send_message(message.channel, 'Your shitty fortune has been rejected {}.'.format(message.author.mention()))
537 return 538 return
538 539
......