diff --git a/main.py b/main.py index 4b0d858..e2c6b9e 100644 --- a/main.py +++ b/main.py @@ -74,9 +74,9 @@ class Vocard(commands.Bot): except Exception as e: func.logger.error(f"Something went wrong while loading {module[:-3]} cog.", exc_info=e) + self.ipc = IPCClient(self, **func.settings.ipc_client) if func.settings.ipc_client.get("enable", False): try: - self.ipc = IPCClient(self, **func.settings.ipc_client) await self.ipc.connect() except Exception as e: func.logger.error(f"Cannot connected to dashboard! - Reason: {e}")