diff --git a/pterodactyl/pterodactyl.py b/pterodactyl/pterodactyl.py index f67a756..a415908 100644 --- a/pterodactyl/pterodactyl.py +++ b/pterodactyl/pterodactyl.py @@ -9,7 +9,7 @@ from redbot.core import commands from redbot.core.bot import Red from redbot.core.utils.chat_formatting import box -from pterodactyl.config import config +from pterodactyl.config import config, register_config from pterodactyl.logger import logger @@ -21,6 +21,7 @@ class Pterodactyl(commands.Cog): self.client: Optional[PterodactylClient] = None self.task: Optional[asyncio.Task] = None self.websocket: Optional[websockets.WebSocketClientProtocol] = None + register_config(config) async def cog_load(self) -> None: self.task = self.get_task()