Custom identifier for fields

is there a way to set a custom field identifier for embeds? or are you limited to just the name field?
2 Replies
d.js toolkit
d.js toolkit•11mo ago
- What's your exact discord.js npm list discord.js and node node -v version? - Post the full error stack trace, not just the top part! - Show your code! - Explain what exactly your issue is. - Not a discord.js issue? Check out #useful-servers. - Issue solved? Press the button!
Sweet
Sweet•11mo ago
{ name: '**Gamemode:**', value: `${serverdata.raw.game}`, inline: true },
{ name: '**RP Status:**', value: `🟢 Online!`, inline: true },
{ name: '**RP Player Count:**', value: `${serverdata.raw.numplayers}/${serverdata.maxplayers}`, inline: true },

{ name: '**Gamemode:**', value: `${ph.raw.game}`, inline: true },
{ name: '**PH Status:**', value: `🟢 Online!`, inline: true },
{ name: '**PH Player Count:**', value: `${ph.raw.numplayers}/${ph.maxplayers}`, inline: true },
{ name: '**Gamemode:**', value: `${serverdata.raw.game}`, inline: true },
{ name: '**RP Status:**', value: `🟢 Online!`, inline: true },
{ name: '**RP Player Count:**', value: `${serverdata.raw.numplayers}/${serverdata.maxplayers}`, inline: true },

{ name: '**Gamemode:**', value: `${ph.raw.game}`, inline: true },
{ name: '**PH Status:**', value: `🟢 Online!`, inline: true },
{ name: '**PH Player Count:**', value: `${ph.raw.numplayers}/${ph.maxplayers}`, inline: true },
ideally i want the names to just be "Player count" & "status" but then when it refreshes and edits the embed fields its not going to know which one because there not unique