I wanna get embed data
When I click "Onayla" Button bot send message embeds description this channel. Can I do it?
3 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.buttoninteraction.message contains the message object the button is attached to.
The message object has a .embeds property containing an array of embeds.
To get the description you need to access the first value of the embed and call .description on it.
I did it thanks