How to get the content of a message?
I'm trying to get the content of a message from the 'messageCreate' event. Any ideas?
19 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.Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
It's not an interaction though, its just a messageCreate event
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
ah.
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
hm alright I get what you mean but say if this is being exported
something like that
then interaction is undefined.
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
oh. gotcha all good
thanks for the help anyways
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
ty
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
right
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
trying to get the message content
what the message contains
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
all good, figured out!