Does <User>.createDM() just return the already created DMChannel if it already exists?

<:
4 Replies
d.js toolkit
d.js toolkit3mo ago
TÆMBØ
TÆMBØ3mo ago
Yes, if the DMChannel is already cached then it just returns that without making an API request. It’s not actually “creating” the channel per se, just fetching the DM channel between your app and the user in question
Thorminate
ThorminateOP3mo ago
ok
d.js toolkit
d.js toolkit3mo ago
The thread owner has marked this issue as solved.

Did you find this page helpful?