How can i use fetch message using DM?
How can i use fetch message using DM?
19 Replies
- 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!Code?
Just DM
no, I have problem fetch message id for edit message in DM?
I have problem fetch message id in DM?
Direct Message
@ABDULLAH please show your code, how are you having the problem, any errors you might be getting?
I think
There's no message property in member (not that there's member property for DM channels, but that's besides the point)
member.messages.fetch() does not exist?
No, <Channel>.messages.fetch() is
You were told here how to fetch dm messages here
Where fetch message DM in discord.js?
Can you please show the code where you 'try' to fetch the message, and not just a part of the code, full code
I think right?
Bro i said show the full code and not just the part of it
But if the message is from the dm channel then
I already
^ please show your full code, what errors you get. Otherwise I can't help you! I can't magically know stuff
fetch the dm channel then fetch the message from that dm channel
:method: DMChannel#fetch()
Fetch this DMChannel.
:method: User#createDM()
Creates a DM channel between the client and the user.