Merge branch 'dev'

merge-requests/13/head
Matthew 2020-06-19 20:40:23 -04:00
commit 81a1d04d42
No known key found for this signature in database
GPG Key ID: F841AB9BF496C194
2 changed files with 27 additions and 24 deletions

View File

@ -41,9 +41,13 @@ 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 = '';
if (ackResolve?.title) { let titleAndDepartment = `${emotes.titleAndDepartment} `;
description += `${emotes.titleAndDepartment} __**${ackResolve.title}**__\n\n`; if (ackResolve?.title && ackResolve?.dept) {
titleAndDepartment += `__**${ackResolve.title}**__, __${ackResolve.dept}__\n\n`;
} else if (ackResolve?.dept) {
titleAndDepartment += `__${ackResolve.dept}__\n\n`;
} }
if (titleAndDepartment.length > 0) description += titleAndDepartment;
if (ackResolve?.emailAddress) { if (ackResolve?.emailAddress) {
description += `${emotes.email} ${ackResolve.emailAddress}\n`; description += `${emotes.email} ${ackResolve.emailAddress}\n`;
} }

View File

@ -2,7 +2,8 @@
{ {
"name": "Matthew", "name": "Matthew",
"id": "278620217221971968", "id": "278620217221971968",
"title": "Board of Directors", "title": "Chief Director of Engineering",
"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",
"github": "https://github.com/matthew119427", "github": "https://github.com/matthew119427",
@ -12,7 +13,7 @@
{ {
"name": "Joe", "name": "Joe",
"id": "556969659531001858", "id": "556969659531001858",
"title": "Board of Directors", "dept": "Board of Directors",
"emailAddress": "joe@staff.libraryofcode.org", "emailAddress": "joe@staff.libraryofcode.org",
"gitlab": "https://gitlab.libraryofcode.org/Joe", "gitlab": "https://gitlab.libraryofcode.org/Joe",
"github": "https://github.com/sirdroolio", "github": "https://github.com/sirdroolio",
@ -22,7 +23,8 @@
{ {
"name": "Bsian", "name": "Bsian",
"id": "253600545972027394", "id": "253600545972027394",
"title": "Board of Directors", "title": "Director of Engineering",
"dept": "Board of Directors",
"emailAddress": "bsian@staff.libraryofcode.org", "emailAddress": "bsian@staff.libraryofcode.org",
"bio": "I also like trains", "bio": "I also like trains",
"acknowledgements": ["Maintainer & Assistant Lead Developer"] "acknowledgements": ["Maintainer & Assistant Lead Developer"]
@ -30,20 +32,16 @@
{ {
"name": "NightRaven", "name": "NightRaven",
"id": "239261547959025665", "id": "239261547959025665",
"title": "Board of Directors", "title": "Director of Information Security",
"dept": "Board of Directors",
"emailAddress": "nightraven@staff.libraryofcode.org", "emailAddress": "nightraven@staff.libraryofcode.org",
"bio": "I like trains" "bio": "I like trains"
}, },
{
"name": "Midori",
"id": "109122112643440640",
"title": "Board of Directors [ON LEAVE]",
"emailAddress": "midori@staff.libraryofcode.org"
},
{ {
"name": "Unknown", "name": "Unknown",
"id": "143414786913206272", "id": "143414786913206272",
"title": "Board of Directors", "title": "Director of Operations",
"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",
"bio": "im not a proffesional developer or anything, i just enjoy it as a hobby." "bio": "im not a proffesional developer or anything, i just enjoy it as a hobby."
@ -51,7 +49,8 @@
{ {
"name": "TheSkele27", "name": "TheSkele27",
"id": "213632190557192192", "id": "213632190557192192",
"title": "Board of Directors", "title": "Director of Community Engagement",
"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",
"github": "https://github.com/TheSkele27", "github": "https://github.com/TheSkele27",
@ -60,7 +59,7 @@
{ {
"name": "Catbirby", "name": "Catbirby",
"id": "131953641371205632", "id": "131953641371205632",
"title": "Supervisor", "dept": "Supervisor",
"emailAddress": "catbirby@staff.libraryofcode.org", "emailAddress": "catbirby@staff.libraryofcode.org",
"github": "https://github.com/catbirby", "github": "https://github.com/catbirby",
"bio": "Computer Tech/Networking Nerd/Sysadmin/Graphic Designer/Audiophile. I don't do much coding but know my way around most languages." "bio": "Computer Tech/Networking Nerd/Sysadmin/Graphic Designer/Audiophile. I don't do much coding but know my way around most languages."
@ -68,7 +67,7 @@
{ {
"name": "D3XTER", "name": "D3XTER",
"id": "468009964263178262", "id": "468009964263178262",
"title": "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",
"bio": "Hi I'm D3XTER how are ya?" "bio": "Hi I'm D3XTER how are ya?"
@ -76,7 +75,7 @@
{ {
"name": "DedShotTM", "name": "DedShotTM",
"id": "402154763363418142", "id": "402154763363418142",
"title": "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",
"github": "https://github.com/DedShotTM", "github": "https://github.com/DedShotTM",
@ -86,7 +85,7 @@
{ {
"name": "EdgyBoi2414", "name": "EdgyBoi2414",
"id": "397432516010835970", "id": "397432516010835970",
"title": "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",
"github": "https://github.com/EdgyBoi2414", "github": "https://github.com/EdgyBoi2414",
@ -95,7 +94,7 @@
{ {
"name": "Hector", "name": "Hector",
"id": "377781496292835339", "id": "377781496292835339",
"title": "Core Team", "dept": "Core Team",
"emailAddress": "hector@staff.libraryofcode.org", "emailAddress": "hector@staff.libraryofcode.org",
"gitlab": "https://gitlab.libraryofcode.org/Hector", "gitlab": "https://gitlab.libraryofcode.org/Hector",
"github": "https://github.com/Hector6704", "github": "https://github.com/Hector6704",
@ -104,7 +103,7 @@
{ {
"name": "KhaaZ", "name": "KhaaZ",
"id": "179908288337412096", "id": "179908288337412096",
"title": "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",
"github": "https://github.com/Khaazz", "github": "https://github.com/Khaazz",
@ -113,7 +112,7 @@
{ {
"name": "Ryan", "name": "Ryan",
"id": "186679073764802560", "id": "186679073764802560",
"title": "Associate", "dept": "Associate",
"emailAddress": "wbdvryan@staff.libraryofcode.org", "emailAddress": "wbdvryan@staff.libraryofcode.org",
"gitlab": "https://gitlab.libraryofcode.org/plainRyan", "gitlab": "https://gitlab.libraryofcode.org/plainRyan",
"bio": "Experiment, learn, share, repeat.", "bio": "Experiment, learn, share, repeat.",
@ -122,7 +121,7 @@
{ {
"name": "Zloth", "name": "Zloth",
"id": "382368885267234816", "id": "382368885267234816",
"title": "Associate", "dept": "Associate",
"emailAddress": "zloth@staff.libraryofcode.org", "emailAddress": "zloth@staff.libraryofcode.org",
"github": "https://github.com/gavintjhxx", "github": "https://github.com/gavintjhxx",
"bio": "Wake up. Eat. Code. Sleep. Loop()" "bio": "Wake up. Eat. Code. Sleep. Loop()"
@ -130,7 +129,7 @@
{ {
"name": "PlayerVMachine", "name": "PlayerVMachine",
"id": "273999507174195203", "id": "273999507174195203",
"title": "Instructor & Associate", "dept": "Instructor & Associate",
"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"
}, },