WIP: Moderation type registry #26
1 changed files with 1 additions and 1 deletions
|
@ -109,7 +109,7 @@ class Change(AuroraBaseModel):
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def from_dict(cls, bot: Red, data: dict) -> "Change":
|
def from_dict(cls, bot: Red, data: dict) -> "Change":
|
||||||
return cls(bot=bot **data)
|
return cls(bot=bot, **data)
|
||||||
|
|
||||||
class PartialUser(AuroraBaseModel):
|
class PartialUser(AuroraBaseModel):
|
||||||
id: int
|
id: int
|
||||||
|
|
Loading…
Reference in a new issue