Can't access Message.content
My bot (it is in one guild and all intents enable in ddev panel) can't acess message content after message is create
Code
call in a messageCreate event
5 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.
Tag suggestion for @weeskybdw:
If you aren't getting content, embeds or attachments of a message, make sure you have the MessageContent
intent enabled in the Developer Portal and provide it to your client:
i have
i mean my bot have all intents
and in the ClientOptions too?
yes
(i log it below in the code)
prob i missused async/await, 🤷♂️
ok i'm an assol i was trying to get Message#content from a Message who only have an embed
Fixed, thx you