add post-title listings
parent
91ce5bb5e8
commit
3ee79251a6
|
@ -28,9 +28,11 @@ export default class Whois extends Command {
|
|||
return this.error(message.channel, 'Member not found.');
|
||||
}
|
||||
const embed = new RichEmbed();
|
||||
embed.setAuthor(`${member.user.username}#${member.user.discriminator}`, member.user.avatarURL);
|
||||
embed.setThumbnail(member.avatarURL);
|
||||
const ackResolve = this.resolveStaffInformation(member.id);
|
||||
let title = `${member.user.username}#${member.user.discriminator}`;
|
||||
if (ackResolve?.pn?.length > 0) title += `, ${ackResolve.pn.join(', ')}`;
|
||||
embed.setAuthor(title, member.user.avatarURL);
|
||||
let description = '';
|
||||
let titleAndDepartment = '';
|
||||
if (ackResolve?.title && ackResolve?.dept) {
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
"name": "Matthew",
|
||||
"id": "278620217221971968",
|
||||
"title": "Chief Director of Engineering",
|
||||
"pn": ["CDE", "ADM", "MT", "TECN", "INS", "ST-C"],
|
||||
"dept": "Board of Directors",
|
||||
"emailAddress": "matthew@staff.libraryofcode.org",
|
||||
"gitlab": "https://gitlab.libraryofcode.org/matthew",
|
||||
|
@ -14,6 +15,7 @@
|
|||
"name": "Bsian",
|
||||
"id": "253600545972027394",
|
||||
"title": "Director of Engineering",
|
||||
"pn": ["DE", "ADM", "MT", "TECN", "ST-C"],
|
||||
"dept": "Board of Directors",
|
||||
"emailAddress": "bsian@staff.libraryofcode.org",
|
||||
"bio": "I also like trains",
|
||||
|
@ -23,6 +25,7 @@
|
|||
"name": "NightRaven",
|
||||
"id": "239261547959025665",
|
||||
"title": "Director of Information Security",
|
||||
"pn": ["DIS", "ADM", "MT", "TECN", "INS", "ST-C"],
|
||||
"dept": "Board of Directors",
|
||||
"emailAddress": "nightraven@staff.libraryofcode.org",
|
||||
"bio": "I like trains"
|
||||
|
@ -31,6 +34,7 @@
|
|||
"name": "Unknown",
|
||||
"id": "143414786913206272",
|
||||
"title": "Director of Operations",
|
||||
"pn": ["DOP", "ADM", "MT", "TECN", "ST-C"],
|
||||
"dept": "Board of Directors",
|
||||
"emailAddress": "unknown@staff.libraryofcode.org",
|
||||
"gitlab": "https://gitlab.libraryofcode.org/unknown",
|
||||
|
@ -40,6 +44,7 @@
|
|||
"name": "TheSkele27",
|
||||
"id": "213632190557192192",
|
||||
"title": "Director of Community Engagement",
|
||||
"pn": ["DCE", "ADM", "MT", "ST-C"],
|
||||
"dept": "Board of Directors",
|
||||
"emailAddress": "theskele27@staff.libraryofcode.org",
|
||||
"gitlab": "https://gitlab.libraryofcode.org/TheSkele27",
|
||||
|
@ -49,6 +54,7 @@
|
|||
{
|
||||
"name": "Catbirby",
|
||||
"id": "131953641371205632",
|
||||
"pn": ["SP", "MT", "ST-C"],
|
||||
"dept": "Supervisor",
|
||||
"emailAddress": "catbirby@staff.libraryofcode.org",
|
||||
"github": "https://github.com/catbirby",
|
||||
|
@ -57,6 +63,7 @@
|
|||
{
|
||||
"name": "D3XTER",
|
||||
"id": "468009964263178262",
|
||||
"pn": ["ST-C"],
|
||||
"dept": "Core Team",
|
||||
"emailAddress": "dexter@staff.libraryofcode.org",
|
||||
"gitlab": "https://gitlab.libraryofcode.org/D3XTER",
|
||||
|
@ -65,6 +72,7 @@
|
|||
{
|
||||
"name": "DedShotTM",
|
||||
"id": "402154763363418142",
|
||||
"pn": ["MT", "TECN", "ST-C"],
|
||||
"dept": "Technician & Moderator",
|
||||
"emailAddress": "dedshot@staff.libraryofcode.org",
|
||||
"gitlab": "https://gitlab.libraryofcode.org/DedShotTM",
|
||||
|
@ -75,6 +83,7 @@
|
|||
{
|
||||
"name": "EdgyBoi2414",
|
||||
"id": "397432516010835970",
|
||||
"pn": ["ST-C"],
|
||||
"dept": "Core Team",
|
||||
"emailAddress": "edgyboi2414@gmail.com",
|
||||
"gitlab": "https://gitlab.libraryofcode.org/EdgyBoi2414",
|
||||
|
@ -84,6 +93,7 @@
|
|||
{
|
||||
"name": "Hector",
|
||||
"id": "377781496292835339",
|
||||
"pn": ["TECN", "ST-C"],
|
||||
"dept": "Technician",
|
||||
"emailAddress": "hector@staff.libraryofcode.org",
|
||||
"gitlab": "https://gitlab.libraryofcode.org/Hector",
|
||||
|
@ -94,6 +104,7 @@
|
|||
{
|
||||
"name": "KhaaZ",
|
||||
"id": "179908288337412096",
|
||||
"pn": ["ST-C"],
|
||||
"dept": "Core Team",
|
||||
"emailAddress": "khaaz@staff.libraryofcode.org",
|
||||
"gitlab": "https://gitlab.libraryofcode.org/KhaaZ",
|
||||
|
@ -104,6 +115,7 @@
|
|||
{
|
||||
"name": "PlayerVMachine",
|
||||
"id": "273999507174195203",
|
||||
"pn": ["INS", "ST-C"],
|
||||
"dept": "Instructor & Core Team",
|
||||
"emailAddress": "nicolas@staff.libraryofcode.org",
|
||||
"bio": "I write C++ to pay off my student loans"
|
||||
|
@ -111,6 +123,7 @@
|
|||
{
|
||||
"name": "Sterben",
|
||||
"id": "241361691730903040",
|
||||
"pn": ["ASC-I"],
|
||||
"dept": "Associate",
|
||||
"emailAddress": "sterben@staff.libraryofcode.org",
|
||||
"gitlab": "https://gitlab.libraryofcode.org/Sterben",
|
||||
|
@ -120,6 +133,7 @@
|
|||
{
|
||||
"name": "Raymond",
|
||||
"id": "314564798992089090",
|
||||
"pn": ["ASC-I"],
|
||||
"dept": "Associate",
|
||||
"emailAddress": "smashjarchive@staff.libraryofcode.org",
|
||||
"gitlab": "https://gitlab.libraryofcode.org/javaarchive",
|
||||
|
|
Loading…
Reference in New Issue