Command exited with code 0. Command output: self.owner_phone = str(self.cfg.get("phone", "")).strip() self.logs_group_id = str(self.cfg.get("logs_group_id", "")).strip() self.bot = Client( "sam_bridge_bot", api_id=self.api_id, api_hash=self.api_hash, bot_token=self.bot_token, in_memory=True, sleep_threshold=60, ) self.http: Optional[aiohttp.ClientSession] = None self.workspaces: dict[str, Workspace] = {} self.auth_clients: dict[str, Client] = {} self.bridge_tasks: dict[str, asyncio.Task] = {} self.workspace_locks: dict[str, asyncio.Lock] = {} self.main_client: Optional[Client] = None self.main_client_ready = False def is_admin(self, user_id: str | int) -> bool: uid = str(user_id).strip() return uid in self.admin_ids or uid == self.legacy_owner_id def lock_for(self, user_id: str) -> asyncio.Lock: lock = self.workspace_locks.get(user_id) if lock is None: lock = asyncio.Lock() self.workspace_locks[user_id] = lock return lock