Skip to content

Commit

Permalink
fix edit flag
Browse files Browse the repository at this point in the history
  • Loading branch information
Fukuda-B committed Mar 18, 2022
1 parent f5f24da commit be6243f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions modules/eq_check.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ async def report(self, json_data):
elif json_data['report_num'] != self.res_log_main[json_data['report_id']]['report_num']:
res = self.res_log_main[json_data['report_id']]['discord_message_id']
await res.edit(send_data)
self.res_log_main[json_data['report_id']]['report_num'] = json_data['report_num']

# logger
if (json_data['report_id'] not in self.res_log_log):
Expand All @@ -99,3 +100,4 @@ async def report(self, json_data):
elif json_data['report_num'] != self.res_log_log[json_data['report_id']]['report_num']:
res = self.res_log_log[json_data['report_id']]['discord_message_id']
await res.edit(send_data)
self.res_log_log[json_data['report_id']]['report_num'] = json_data['report_num']

0 comments on commit be6243f

Please sign in to comment.