remove discriminator part on whois #41

Closed
Damian wants to merge 1 commits from master into master
1 changed files with 238 additions and 238 deletions

View File

@ -43,7 +43,7 @@ export default class Whois extends Command {
embed.setThumbnail(member.avatarURL);
const ackResolve = await this.client.db.mongo.Staff.findOne({ userID: member.id }).lean().exec();
const mpn = this.memberPostNominals(member);
let title = `${member.user.username}#${member.user.discriminator}`;
let title = `${member.user.username}`;
if (!ackResolve && mpn) {
title += `, ${mpn.join(', ')}`;
}