fixes to whois
parent
8c55efd7e3
commit
a455cbbee8
|
@ -96,8 +96,8 @@ export default class Whois extends Command {
|
|||
if (score.total < 200) totalScore = '---';
|
||||
else if (score.total > 800) totalScore = '800';
|
||||
else totalScore = `${score.total}`;
|
||||
embed.addField('Community Score', totalScore, true);
|
||||
} else embed.addField('Community Score', 'N/C', true);
|
||||
embed.addField('CommScore™', totalScore, true);
|
||||
} else embed.addField('CommScore™', 'N/C', true);
|
||||
|
||||
if (member.roles.length > 0) {
|
||||
embed.addField(`Roles [${member.roles.length}]`, member.roles.map((r) => this.mainGuild.roles.get(r)).sort((a, b) => b.position - a.position).map((r) => `<@&${r.id}>`).join(', '));
|
||||
|
|
Loading…
Reference in New Issue