Discord Slash Embed Message

Hi guys, how do i add a field in embed slash message ??
9 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!
edocsil
edocsil16mo 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
InspectorGadgetOP16mo ago
Also, where do i find what does these types means
edocsil
edocsil16mo 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
InspectorGadgetOP16mo ago
Hi, i tried to add a footer & timestamp but it didn't worked
InspectorGadget
InspectorGadgetOP16mo ago
i've found ty
Cae
Cae16mo ago
.setTimestamp()
jay
jay16mo ago
thats only for the embed builder
Cgx
Cgx16mo 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