WIP: Moderation type registry #26
1 changed files with 1 additions and 1 deletions
|
@ -135,7 +135,7 @@ def generate_dict(bot: Red, result: dict, guild_id: int) -> dict:
|
||||||
duration = None
|
duration = None
|
||||||
|
|
||||||
if result[14] is not None:
|
if result[14] is not None:
|
||||||
logger.debug(result[14])
|
logger.debug('%s', result[14])
|
||||||
changes = json.loads(result[14].replace('\\"', '"').replace('["{', '[{').replace('}"]', '}]'))
|
changes = json.loads(result[14].replace('\\"', '"').replace('["{', '[{').replace('}"]', '}]'))
|
||||||
change_obj_list = []
|
change_obj_list = []
|
||||||
for change in changes:
|
for change in changes:
|
||||||
|
|
Loading…
Reference in a new issue