WIP: Refactor Aurora (3.0.0) #29
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@ class AuroraBaseModel(BaseModel):
|
|||
return dump(self.dump(), file, indent=indent, **kwargs) if file else dumps(self.dump(), indent=indent, **kwargs)
|
||||
|
||||
class AuroraGuildModel(AuroraBaseModel):
|
||||
"""Subclass of AuroraBaseModel that includes a guild_id attribute and a guild attribute, and a modified to_json() method to match."""
|
||||
"""Subclass of AuroraBaseModel that includes a guild_id attribute and a guild attribute."""
|
||||
model_config = ConfigDict(ignored_types=(Red, Guild), arbitrary_types_allowed=True)
|
||||
guild_id: int
|
||||
guild: Optional[Guild] = None
|
||||
|
|
Loading…
Reference in a new issue