Merge branch 'dev'

merge-requests/13/head
Matthew 2020-06-21 02:07:11 -04:00
commit 586f662ef0
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) {