title embed text forms

how can i put like this text in title embed
11 Replies
d.js toolkit
d.js toolkit2mo 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! - Marked as resolved by OP
sylla
sylla2mo ago
heres an alternative: put the text at the top of the description instead itll look like this
sylla
sylla2mo ago
No description
treble/luna
treble/luna2mo ago
just like you would for your message
yujin/winter arc
yujin/winter arcOP2mo ago
ahh can you kindly show the codes? i have done but doesn't shows like that
sylla
sylla2mo ago
something like this:
async execute(interaction, bot) {
const embed = new EmbedBuilder()
.setDescription(“# __bot uptime:__”)

await interaction.reply({ embeds: [embed]});
}
async execute(interaction, bot) {
const embed = new EmbedBuilder()
.setDescription(“# __bot uptime:__”)

await interaction.reply({ embeds: [embed]});
}
^
yujin/winter arc
yujin/winter arcOP2mo ago
nice but can i set it to .setTitle instead of .setDescription?
treble/luna
treble/luna2mo ago
no
d.js docs
d.js docs2mo ago
Some parts of an embed will not properly resolve mentions (leave them in the <@348607796335607817> format): - Author name - Footer text - Embed title - Embed field name
treble/luna
treble/luna2mo ago
the same applies to markdown
yujin/winter arc
yujin/winter arcOP2mo ago
yeah yeah i get it that's why am waiting for v15. hope it gives some good updates bruhh, anyways at least i got to know thank ya and also to @treble/luna
Want results from more Discord servers?
Add your server