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