remove discriminator part on whois
parent
77213c0178
commit
6b4a3c3a55
|
@ -43,7 +43,7 @@ export default class Whois extends Command {
|
||||||
embed.setThumbnail(member.avatarURL);
|
embed.setThumbnail(member.avatarURL);
|
||||||
const ackResolve = await this.client.db.mongo.Staff.findOne({ userID: member.id }).lean().exec();
|
const ackResolve = await this.client.db.mongo.Staff.findOne({ userID: member.id }).lean().exec();
|
||||||
const mpn = this.memberPostNominals(member);
|
const mpn = this.memberPostNominals(member);
|
||||||
let title = `${member.user.username}#${member.user.discriminator}`;
|
let title = `${member.user.username}`;
|
||||||
if (!ackResolve && mpn) {
|
if (!ackResolve && mpn) {
|
||||||
title += `, ${mpn.join(', ')}`;
|
title += `, ${mpn.join(', ')}`;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue