WIP: Moderation type registry #26

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

View file

@ -264,7 +264,7 @@ class Moderation(AuroraGuildModel):
case_safe["metadata"], case_safe["metadata"],
) )
return cls.from_dict(bot=bot, **case) return cls.from_dict(bot=bot, data=case)
class Change(AuroraBaseModel): class Change(AuroraBaseModel):
type: Literal["ORIGINAL", "RESOLVE", "EDIT"] type: Literal["ORIGINAL", "RESOLVE", "EDIT"]