From 09c2b3e0cf0a987d153ebe53677038f447db22c1 Mon Sep 17 00:00:00 2001 From: Slipstream Date: Tue, 10 Jun 2025 18:24:37 -0600 Subject: [PATCH] Fix application_id handling (#36) --- disagreement/client.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/disagreement/client.py b/disagreement/client.py index 11694bb..57c38cc 100644 --- a/disagreement/client.py +++ b/disagreement/client.py @@ -123,14 +123,10 @@ class Client: self._closed: bool = False self._ready_event: asyncio.Event = asyncio.Event() - self.application_id: Optional[Snowflake] = None # For Application Commands self.user: Optional["User"] = ( None # The bot's own user object, populated on READY ) - # Initialize AppCommandHandler - self.app_command_handler: AppCommandHandler = AppCommandHandler(client=self) - # Internal Caches self._guilds: Dict[Snowflake, "Guild"] = {} self._channels: Dict[Snowflake, "Channel"] = (