fix staff emote in whois

merge-requests/6/merge
Matthew 2020-06-21 02:07:04 -04:00
parent f281473245
commit d324aeb5e7
No known key found for this signature in database
GPG Key ID: F841AB9BF496C194
1 changed files with 3 additions and 3 deletions

View File

@ -41,11 +41,11 @@ export default class Whois extends Command {
embed.setThumbnail(member.avatarURL);
const ackResolve = this.resolveStaffInformation(member.id);
let description = '';
let titleAndDepartment = `${emotes.titleAndDepartment} `;
let titleAndDepartment = '';
if (ackResolve?.title && ackResolve?.dept) {
titleAndDepartment += `__**${ackResolve.title}**__, __${ackResolve.dept}__\n\n`;
titleAndDepartment += `${emotes.titleAndDepartment} __**${ackResolve.title}**__, __${ackResolve.dept}__\n\n`;
} else if (ackResolve?.dept) {
titleAndDepartment += `__${ackResolve.dept}__\n\n`;
titleAndDepartment += `${emotes.titleAndDepartment} __${ackResolve.dept}__\n\n`;
}
if (titleAndDepartment.length > 0) description += titleAndDepartment;
if (ackResolve?.emailAddress) {