From 26bf5920c6f1d1f8a7b2bc6b4d03c1de5344835d Mon Sep 17 00:00:00 2001 From: SeaswimmerTheFsh Date: Sat, 4 May 2024 17:10:26 -0400 Subject: [PATCH] fix(aurora): mark the bot as a classvar in the moderation model --- aurora/models.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/aurora/models.py b/aurora/models.py index 6de0340..8409ee2 100644 --- a/aurora/models.py +++ b/aurora/models.py @@ -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