diff --git a/jarvis/cogs/dbrand.py b/jarvis/cogs/dbrand.py index 9000e80..f42bfae 100644 --- a/jarvis/cogs/dbrand.py +++ b/jarvis/cogs/dbrand.py @@ -13,7 +13,7 @@ from naff.models.naff.application_commands import ( from naff.models.naff.command import cooldown from naff.models.naff.cooldowns import Buckets -from jarvis.config import get_config +from jarvis.config import JarvisConfig from jarvis.data.dbrand import shipping_lookup from jarvis.utils import build_embed @@ -33,7 +33,7 @@ class DbrandCog(Cog): self.base_url = "https://dbrand.com/" self._session = aiohttp.ClientSession() self._session.headers.update({"Content-Type": "application/json"}) - self.api_url = get_config().urls["dbrand_shipping"] + self.api_url = JarvisConfig.from_yaml().urls["dbrand_shipping"] self.cache = {} def __del__(self):