WIP: Refactor Aurora (3.0.0) #29
1 changed files with 3 additions and 2 deletions
|
@ -173,6 +173,7 @@ class Moderation(AuroraGuildModel):
|
||||||
if result[14] is not None:
|
if result[14] is not None:
|
||||||
changes = json.loads(result[14])
|
changes = json.loads(result[14])
|
||||||
change_obj_list = []
|
change_obj_list = []
|
||||||
|
if changes:
|
||||||
for change in changes:
|
for change in changes:
|
||||||
change_obj_list.append(Change.from_dict(bot=bot, data=change))
|
change_obj_list.append(Change.from_dict(bot=bot, data=change))
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue