From 17b1dc4d702f687df29b3cf329f493b8c3deb899 Mon Sep 17 00:00:00 2001 From: Katelyn Gigante Date: Mon, 24 Mar 2025 19:08:58 +1100 Subject: [PATCH] fix: Actually place channel ids into cache.dm_channels --- interactions/client/smart_cache.py | 1 + 1 file changed, 1 insertion(+) diff --git a/interactions/client/smart_cache.py b/interactions/client/smart_cache.py index c7090a616..4b6b9cbe0 100644 --- a/interactions/client/smart_cache.py +++ b/interactions/client/smart_cache.py @@ -550,6 +550,7 @@ async def fetch_dm_channel_id(self, user_id: "Snowflake_Type", *, force: bool = data = await self._client.http.create_dm(user_id) channel = self.place_channel_data(data) channel_id = channel.id + self.place_dm_channel_id(user_id, channel_id) return channel_id async def fetch_dm_channel(self, user_id: "Snowflake_Type", *, force: bool = False) -> "DM":