Discord Slash Embed Message
Hi guys, how do i add a field in embed slash message ??
9 Replies
- 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!Add a
fields
array of APIEmbedFields
https://discord-api-types.dev/api/discord-api-types-v10/interface/APIEmbedField
Or use builders and call .addFields()Also, where do i find what does these types means
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
Hi, i tried to add a footer & timestamp but it didn't worked
i've found ty
.setTimestamp()
thats only for the embed builder
I strongly recommend to use EmbedBuilder since it's way easier to use.
Since you use it as Object, you need to use