Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
alexemanuelol committed Apr 6, 2024
1 parent ee00b8e commit 8927ffb
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/commands/players.js
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,7 @@ async function displaySeveralUsers(client, interaction, battlemetricsId, playerI
for (const field of fields) {
embed.addFields({
name: fieldCounter === 0 ? client.intlGet(interaction.guildId, 'players') : '\u200B',
value: field,
value: field === '' ? '\u200B' : field,
inline: true
});
fieldCounter += 1;
Expand Down
2 changes: 1 addition & 1 deletion src/discordTools/discordEmbeds.js
Original file line number Diff line number Diff line change
Expand Up @@ -953,7 +953,7 @@ module.exports = {
for (const field of fields) {
embed.addFields({
name: fieldCounter === 0 ? Client.client.intlGet(guildId, 'players') : '\u200B',
value: field,
value: field === '' ? '\u200B' : field,
inline: true
});
fieldCounter += 1;
Expand Down
4 changes: 2 additions & 2 deletions src/handlers/battlemetricsHandler.js
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,7 @@ module.exports = {
for (const field of fields) {
outPutFields.push({
name: '\u200B',
value: field,
value: field === '' ? '\u200B' : field,
inline: true
});
fieldCounter += 1;
Expand Down Expand Up @@ -413,7 +413,7 @@ module.exports = {
for (const field of fields) {
outPutFields.push({
name: '\u200B',
value: field,
value: field === '' ? '\u200B' : field,
inline: true
});
fieldCounter += 1;
Expand Down

0 comments on commit 8927ffb

Please sign in to comment.