Closed Atdit closed 5 years ago
A better way to accomplish this:
embed.addField('Ranks', body.user.ranks.length === 0 ? '*(None)*' : (await getPlayerRanksFromIds(body.user.ranks)).map(rank => `\`${rank.name.toUpperCase()}\``).join('\n'), true);
Thank you for bringing the issue to my attention, though.
A better way to accomplish this:
Thank you for bringing the issue to my attention, though.