Merge branch 'dev'
commit
586f662ef0
|
@ -41,11 +41,11 @@ export default class Whois extends Command {
|
||||||
embed.setThumbnail(member.avatarURL);
|
embed.setThumbnail(member.avatarURL);
|
||||||
const ackResolve = this.resolveStaffInformation(member.id);
|
const ackResolve = this.resolveStaffInformation(member.id);
|
||||||
let description = '';
|
let description = '';
|
||||||
let titleAndDepartment = `${emotes.titleAndDepartment} `;
|
let titleAndDepartment = '';
|
||||||
if (ackResolve?.title && ackResolve?.dept) {
|
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) {
|
} else if (ackResolve?.dept) {
|
||||||
titleAndDepartment += `__${ackResolve.dept}__\n\n`;
|
titleAndDepartment += `${emotes.titleAndDepartment} __${ackResolve.dept}__\n\n`;
|
||||||
}
|
}
|
||||||
if (titleAndDepartment.length > 0) description += titleAndDepartment;
|
if (titleAndDepartment.length > 0) description += titleAndDepartment;
|
||||||
if (ackResolve?.emailAddress) {
|
if (ackResolve?.emailAddress) {
|
||||||
|
|
Loading…
Reference in New Issue