WIP: Moderation type registry #26

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

View file

@ -102,7 +102,7 @@ class Change(AuroraBaseModel):
@classmethod @classmethod
def from_dict(cls, bot: Red, guild_id: int, data: dict) -> "Change": def from_dict(cls, bot: Red, guild_id: int, data: dict) -> "Change":
return cls(bot=bot, **data) return cls(bot=bot, guild_id=guild_id, **data)
class PartialUser(AuroraBaseModel): class PartialUser(AuroraBaseModel):
id: int id: int