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 toolkit15mo 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
Jaworek15mo ago
bots cant be in a dm group so no need to worry
d.js docs
d.js docs15mo ago
class PartialGroupDMChannel (extends BaseChannel) Represents a Partial Group DM Channel on Discord.
Jaworek
Jaworek15mo ago
when fetching invite etc bur it should show the recipients
unnreaal
unnreaalOP15mo ago
i mean a manager for recipients
Jaworek
Jaworek15mo ago
cached to user manager?
Kinect3000
Kinect300015mo 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
unnreaal
unnreaalOP15mo ago
i wanna know if djs has a manager for recipients in a group dm
Kinect3000
Kinect300015mo ago
Prob not
unnreaal
unnreaalOP15mo ago
why
Kinect3000
Kinect300015mo ago
GroupDMChannel was initially removed bc ddocs said it was deprecated for a long time For bots to create dm channels, that is
Tuevon
Tuevon5mo 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
Kinect30005mo 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
Want results from more Discord servers?
Add your server