diff --git a/jarvis/__init__.py b/jarvis/__init__.py index 24eb439..bf8ef8c 100644 --- a/jarvis/__init__.py +++ b/jarvis/__init__.py @@ -77,13 +77,13 @@ async def run() -> None: | Intents.GUILD_MESSAGES | Intents.MESSAGE_CONTENT ) - redis_config = config.redis.dict() + redis_config = config.redis.model_dump() redis_host = redis_config.pop("host") redis = await aioredis.from_url(redis_host, decode_responses=True, **redis_config) await connect( - **config.mongo.dict(), + **config.mongo.model_dump(), testing=config.environment.value == "develop", extra_models=[StaticStat, Stat], )