WIP: Moderation type registry #26

Closed
cswimr wants to merge 146 commits from aurora-3rd-party into main
Showing only changes of commit cad24d852c - 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:
json_str = f'{result[14].replace('\\"', '"').replace('["{', '[{').replace('}"]', '}]')}'
json_str = result[14].replace('\\"', '"').replace('["{', '[{').replace('}"]', '}]')
logger.debug('%s\n%s', result[14], json_str)
changes = json.loads(json_str)
change_obj_list = []