fix(aurora): fixed a missing kwarg in a model initialization function
This commit is contained in:
parent
1313834ea5
commit
74a0983419
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