WIP: Moderation type registry #26
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue