Discord Slash Embed Message

Hi guys, how do i add a field in embed slash message ??
9 Replies
d.js toolkit
d.js toolkit17mo 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!
edocsil
edocsil17mo ago
Add a fields array of APIEmbedFields https://discord-api-types.dev/api/discord-api-types-v10/interface/APIEmbedField Or use builders and call .addFields()
InspectorGadget
InspectorGadgetOP17mo ago
Also, where do i find what does these types means
edocsil
edocsil17mo ago
discord-api-types documentation
discord-api-types - Imagine typings
discord-api-types is a simple Node/Deno module that brings up to date typings for Discord's API
InspectorGadget
InspectorGadgetOP17mo ago
Hi, i tried to add a footer & timestamp but it didn't worked
InspectorGadget
InspectorGadgetOP17mo ago
i've found ty
Cae
Cae17mo ago
.setTimestamp()
jay
jay17mo ago
thats only for the embed builder
Cgx
Cgx17mo ago
I strongly recommend to use EmbedBuilder since it's way easier to use. Since you use it as Object, you need to use
timestamp: new Date().toISOString(),
timestamp: new Date().toISOString(),
Want results from more Discord servers?
Add your server