Group DM recipients

Does discord.js manage and cache recipients (users) of a direct message (DM) group? I didn't find anything related
13 Replies
d.js toolkit
d.js toolkit2y ago
- What's your exact discord.js npm list discord.js and node node -v version? - Not a discord.js issue? Check out #other-js-ts. - Consider reading #how-to-get-help to improve your question! - Explain what exactly your issue is. - Post the full error stack trace, not just the top part! - Show your code! - Issue solved? Press the button!
Jaworek
Jaworek2y ago
bots cant be in a dm group so no need to worry
d.js docs
d.js docs2y ago
class PartialGroupDMChannel (extends BaseChannel) Represents a Partial Group DM Channel on Discord.
Jaworek
Jaworek2y ago
when fetching invite etc bur it should show the recipients
prime unreal
prime unrealOP2y ago
i mean a manager for recipients
Jaworek
Jaworek2y ago
cached to user manager?
Kinect3000
Kinect30002y ago
Bots can start group dms, actually It depends on how you got the DMChannel In general, if d.js receives a structure and it contains enough data to fully construct a User/Users, it will cache them
prime unreal
prime unrealOP2y ago
i wanna know if djs has a manager for recipients in a group dm
Kinect3000
Kinect30002y ago
Prob not
prime unreal
prime unrealOP2y ago
why
Kinect3000
Kinect30002y ago
GroupDMChannel was initially removed bc ddocs said it was deprecated for a long time For bots to create dm channels, that is
Tuevon
Tuevon7mo ago
I'd actually like to re-open this since it's been a good amount of time, but I'm noticing that the DDevs resource still lists Group DMs in its documentation. Am I missing something or does <DM Channel>.recipient actually return a user/member manager or an array/collection of IDs? If whoever answers is able to ping me it would be much appreciated. Thank you! I'm hoping just to get the recipients, or even to just determine if the bot is in a group DM.
Kinect3000
Kinect30007mo ago
Should’ve just made a new thread tbh. The old convo doesn’t add anything to ur question 2. DmChannel is not the same as GroupDMChannel. DM channels are only between the user and the bot, not multiple users 3. GroupDMChannel hasn’t been added back. You’ll have to fetch and parse the channel yourself via the Get Channel endpoint

Did you find this page helpful?