Embed with slash command

I want that embed command will take embed info from embed.js file but not from index.js It is possible?
2 Replies
d.js toolkit
d.js toolkit16mo ago
- What's your exact discord.js npm list discord.js and node node -v version? - Not a discord.js issue? Check out #other-js-ts. - Consider reading #how-to-get-help to improve your question! - Explain what exactly your issue is. - Post the full error stack trace, not just the top part! - Show your code! - Issue solved? Press the button!
BlackInk
BlackInk16mo ago
set function and return embed and button like uh...return { embed: embed, buttons: button }this? and require your embed.js file
Want results from more Discord servers?
Add your server