I wanna get embed data

When I click "Onayla" Button bot send message embeds description this channel. Can I do it?
3 Replies
d.js toolkit
d.js toolkit2y ago
• 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.
chewie
chewie2y ago
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.
Mockir
MockirOP2y ago
I did it thanks
Want results from more Discord servers?
Add your server