messageCreate embed content
How could find the content of a embed message
26 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.Depends which part
These are its properties
description and title
cool access those then
Ok would
message.embeds[0].description
work at all?yep
thank you.
When I do that I get
theres no embed in that message
Or you dont have the MessageContent intent
oh
Could I read a webhook embed the same way?
yes
The message embed description is this
now I get this
probably the intent then
¯\_(ツ)_/¯
What event is trying to check the embed?
the title and description
What event
messageCreate
yeah that doesnt add up then
Either it doesnt have an embed, or you dont have the intent
thats weird
this is the embed
my intents
the code I'm trying to run:
uhh why is the intent listed twice
oops
Okay so it
console.log(message.embeds[0].description);
but still returns with an new error TypeError: Cannot read properties of undefined (reading 'title') I don't get it
wait 😅 I fixed it some how
@monbrey thanks for your help.
for some reason it can't read the title at all it might just be a bug