Inline field title

Hi, I want to make an Inline Title in my Embed object, as in the example of one of my kicks with a timeout error, what could be the problem?
4 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! - Marked as resolved by OP
Dmitry Batkovich
Dmitry BatkovichOP16mo ago
const embedStart = new EmbedBuilder()
.setColor('#39ff14')
.addFields(
{ name: 'Regular field title', value: 'Some value here' },
{ name: '\u200B', value: '\u200B' },
{ name: 'Inline field title', value: 'Some value here', inline: true },
{ name: 'Inline field title', value: 'Some value here', inline: true },
);
await channel.send({ embeds: [embedStart] });
const embedStart = new EmbedBuilder()
.setColor('#39ff14')
.addFields(
{ name: 'Regular field title', value: 'Some value here' },
{ name: '\u200B', value: '\u200B' },
{ name: 'Inline field title', value: 'Some value here', inline: true },
{ name: 'Inline field title', value: 'Some value here', inline: true },
);
await channel.send({ embeds: [embedStart] });
channel correct
ShompiFlen
ShompiFlen16mo ago
what do you mean by "inline title"? can you show an example? it is not very clear to me
monbrey
monbrey16mo ago
that looks fine? The first two fields will each take a whole line, and then the second two will be inline
Want results from more Discord servers?
Add your server