Navigation Menu

Skip to content

Commit

Permalink
use rank display names instead of ids
Browse files Browse the repository at this point in the history
  • Loading branch information
jellz committed Nov 3, 2019
1 parent e4e60a9 commit c0f140e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Expand Up @@ -77,7 +77,7 @@ client.on('message', async (msg) => {
body.user.ranks.length === 0
? '*(None)*'
: (await getPlayerRanks(args[0]))
.map((rank) => `\`${rank.name.toUpperCase()}\``)
.map((rank) => `**\`${rank.display || rank.name.toUpperCase()}\`**`)
.join('\n'),
true
);
Expand Down

0 comments on commit c0f140e

Please sign in to comment.