WIP: Moderation type registry #26
1 changed files with 2 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
|||
from datetime import datetime, timedelta
|
||||
from typing import Any, Dict, List, Optional, Union
|
||||
from typing import Any, ClassVar, Dict, List, Optional, Union
|
||||
|
||||
from discord import Forbidden, HTTPException, InvalidData, NotFound
|
||||
from pydantic import BaseModel
|
||||
|
@ -11,7 +11,7 @@ from aurora.utilities.utils import generate_dict
|
|||
class AuroraBaseModel(BaseModel):
|
||||
"""Base class for all models in Aurora."""
|
||||
class Moderation(AuroraBaseModel):
|
||||
bot: Red
|
||||
bot: ClassVar[Red]
|
||||
moderation_id: int
|
||||
guild_id: int
|
||||
timestamp: datetime
|
||||
|
|
Loading…
Reference in a new issue