d16f23b6 by Barry

Bug fixes for deliveries.

1 parent f0754003
{"Rui": {"Everybody": {"delivery_time": "2015/12/04 00:00:00", "message": "You are a faggot", "channel": "47934985176354816"}}}
\ No newline at end of file
{"<@49237234515181568>": {"<@47934670406422528>": {"delivery_time": "2047/08/11 18:39:12", "message": "ur a fgt", "user_id": "49237234515181568", "channel": "47934985176354816"}}, "Rui": {"Everybody": {"delivery_time": "2015/12/04 00:00:00", "message": "You are a faggot", "channel": "47934985176354816"}}, "<@47934670406422528>": {"<@121404665727418368>": {"delivery_time": "2015/12/10 16:53:42", "message": "You will never be tall.", "user_id": "47934670406422528", "channel": "47934985176354816"}}, "<@48148712194576384>": {"<@121404665727418368>": {"delivery_time": "2019/02/03 02:38:24", "message": "u gay", "user_id": "48148712194576384", "channel": "47934985176354816"}}}
\ No newline at end of file
......
......@@ -102,7 +102,7 @@ def on_status(member):
return
open(member_status, 'wb+').write(jdata.encode('utf8'))
check_msg_queue()
def get_game_names(game_id_list):
json_data=open(games_file).read()
......@@ -154,6 +154,8 @@ def check_msg_queue():
offline = True
break
if offline:
new_data[username] = {}
new_data[username][author] = data[username][author]
break
channel = Object(data[username][author]['channel'])
message = data[username][author]['message']
......