fix staff emote in whois
parent
f281473245
commit
d324aeb5e7
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue