timotejroiko/discord.js-light

DMChannel does not have "recipient" in v3.5.11

Closed this issue · 3 comments

DMChannel of 4.0.0-dev has "recipient" but DMChannel of 3.5.11 does not have "recipient".
image

how did you fetch/create the DMchannel? it has recipient when you use client.channels.fetch() and user.createDM()

I just the send message in DMChannel.
However, I fetched only my account user(caching true) and send DMNotice when bot start. Then, discord.js v13 cached that DMChannel (discord.js v12 does not). I think it make difference of 4.0.0-dev and 3.5.11.
Thank you for your reply.

ah ok, caching behavior in v13/v4 is still not complete so there can be some differences.