Const messages
I am making a transcript system, but I need to define "messages" for the channel I am closing, but I got no clue how I would define "messages".
const messages = someWayToGetMessages(); // Must be Collection<string, Message> or Message[]
14 Replies
• What's your exact discord.js
npm list discord.js
and node node -v
version?
• Post the full error stack trace, not just the top part!
• Show your code!
• Explain what exactly your issue is.
• Not a discord.js issue? Check out #useful-servers.What message do you need? (In Discord)
channel
every
like all the messages in the channel
You can fetch only 100 messages per request. So you may be rate limited. It's better to save messages in db with message events.
how can I do that?
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
what is the simplest way?
No.
Uhmm
which database do you recommend?
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
Alr thx
😄
Why isn't it sending any dms to me
no errors
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
Documentation suggestion for @marqusdev: BaseInteraction#member
If this interaction was sent in a guild, the member which sent it
How can I do instead?
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
what?
interaction.member.send
or?
Oh
you mean just without the semi colon