WIP: Refactor Aurora (3.0.0) #29

Draft
cswimr wants to merge 347 commits from aurora-pydantic into main
Showing only changes of commit 293f77c228 - Show all commits

View file

@ -135,7 +135,7 @@ def generate_dict(bot: Red, result: dict, guild_id: int) -> dict:
duration = None
if result[14] is not None:
logger.debug('%s', result[14])
logger.debug('%s\n%s', result[14], result[14].replace('\\"', '"').replace('["{', '[{').replace('}"]', '}]'))
changes = json.loads(result[14].replace('\\"', '"').replace('["{', '[{').replace('}"]', '}]'))
change_obj_list = []
for change in changes: