Skip to content

Commit 06df222

Browse files
authored
fix: Actually place channel ids into cache.dm_channels (#1761)
1 parent 7233db2 commit 06df222

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

interactions/client/smart_cache.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -550,6 +550,7 @@ async def fetch_dm_channel_id(self, user_id: "Snowflake_Type", *, force: bool =
550550
data = await self._client.http.create_dm(user_id)
551551
channel = self.place_channel_data(data)
552552
channel_id = channel.id
553+
self.place_dm_channel_id(user_id, channel_id)
553554
return channel_id
554555

555556
async def fetch_dm_channel(self, user_id: "Snowflake_Type", *, force: bool = False) -> "DM":

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy