WIP: Moderation type registry #26

Closed
cswimr wants to merge 146 commits from aurora-3rd-party into main
Showing only changes of commit 9c7e0b0b89 - Show all commits

View file

@ -264,6 +264,9 @@ class Moderation(AuroraGuildModel):
case_safe["metadata"], case_safe["metadata"],
) )
for change in case["changes"]:
change.update({"bot": bot})
return cls.from_dict(bot=bot, data=case) return cls.from_dict(bot=bot, data=case)
class Change(AuroraBaseModel): class Change(AuroraBaseModel):