acknowledgement title changes

merge-requests/7/head
Matthew 2020-04-20 13:56:54 -04:00
parent d2d3a5c335
commit 4541482cf5
No known key found for this signature in database
GPG Key ID: 766BE43AE75F7559
2 changed files with 14 additions and 51 deletions

View File

@ -42,8 +42,8 @@ export default class Whois extends Command {
const ackResolve = this.resolveStaffInformation(member.id); const ackResolve = this.resolveStaffInformation(member.id);
let description = ''; let description = '';
if (ackResolve) { if (ackResolve) {
if (ackResolve?.title && ackResolve?.dept) { if (ackResolve?.title) {
description += `${emotes.titleAndDepartment} __**${ackResolve.title}**__, ${ackResolve.dept}\n\n`; description += `${emotes.titleAndDepartment} __**${ackResolve.title}**__\n\n`;
} }
if (ackResolve?.emailAddress) { if (ackResolve?.emailAddress) {
description += `${emotes.email} ${ackResolve.emailAddress}\n`; description += `${emotes.email} ${ackResolve.emailAddress}\n`;

View File

@ -2,8 +2,7 @@
{ {
"name": "Matthew", "name": "Matthew",
"id": "278620217221971968", "id": "278620217221971968",
"title": "Marshal General of Engineering", "title": "Board of Directors",
"dept": "Faculty Marshals",
"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",
@ -13,8 +12,7 @@
{ {
"name": "Joe", "name": "Joe",
"id": "556969659531001858", "id": "556969659531001858",
"title": "Marshal General of Community Relations", "title": "Board of Directors",
"dept": "Faculty Marshals",
"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",
@ -24,8 +22,7 @@
{ {
"name": "Bsian", "name": "Bsian",
"id": "253600545972027394", "id": "253600545972027394",
"title": "Assistant Marshal General of Engineering", "title": "Board of Directors",
"dept": "Faculty Marshals",
"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"]
@ -33,23 +30,20 @@
{ {
"name": "NightRaven", "name": "NightRaven",
"id": "239261547959025665", "id": "239261547959025665",
"title": "Assistant Marshal General of Community Relations", "title": "Board of Directors",
"dept": "Faculty Marshals",
"emailAddress": "nightraven@staff.libraryofcode.org", "emailAddress": "nightraven@staff.libraryofcode.org",
"bio": "I like trains" "bio": "I like trains"
}, },
{ {
"name": "Midori", "name": "Midori",
"id": "109122112643440640", "id": "109122112643440640",
"title": "Assistant Marshal General of Community Relations", "title": "Board of Directors",
"dept": "Faculty Marshals",
"emailAddress": "midori@staff.libraryofcode.org" "emailAddress": "midori@staff.libraryofcode.org"
}, },
{ {
"name": "Unknown", "name": "Unknown",
"id": "143414786913206272", "id": "143414786913206272",
"title": "Staff Sergeant", "title": "Board of Directors",
"dept": "Faculty Marshals",
"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."
@ -57,53 +51,26 @@
{ {
"name": "TheSkele27", "name": "TheSkele27",
"id": "213632190557192192", "id": "213632190557192192",
"title": "Community Advisor", "title": "Board of Directors",
"dept": "Faculty Marshals",
"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",
"bio": "Is water wet?" "bio": "Is water wet?"
}, },
{
"name": "Aikaterna",
"id": "154497072148643840",
"title": "Sheriff",
"dept": "Staff Team"
},
{
"name": "Boss",
"id": "344954369285947392",
"title": "Sheriff",
"dept": "Staff Team",
"emailAddress": "boss@staff.libraryofcode.org",
"gitlab": "https://gitlab.libraryofcode.org/Boss",
"bio": "I cant find a bio for user \"boss\""
},
{ {
"name": "Besero", "name": "Besero",
"id": "283318906024886272", "id": "283318906024886272",
"title": "Associate", "title": "Associate",
"dept": "Staff Team",
"emailAddress": "besero@staff.libraryofcode.org", "emailAddress": "besero@staff.libraryofcode.org",
"gitlab": "https://gitlab.libraryofcode.org/besero_gg", "gitlab": "https://gitlab.libraryofcode.org/besero_gg",
"github": "https://github.com/kledi-harding", "github": "https://github.com/kledi-harding",
"bio": "Just looking for some fun. I like going on long walks in the park. No guys", "bio": "Just looking for some fun. I like going on long walks in the park. No guys",
"acknowledgements": ["Graphic Designer"] "acknowledgements": ["Graphic Designer"]
}, },
{
"name": "CoalSephos",
"id": "155698776512790528",
"title": "Associate",
"dept": "Staff Team",
"gitlab": "https://gitlab.libraryofcode.org/CoalSephos",
"github": "https://github.com/CoalSephos",
"bio": "[Tastes like chicken?]"
},
{ {
"name": "D3XTER", "name": "D3XTER",
"id": "468009964263178262", "id": "468009964263178262",
"title": "Associate", "title": "Core Team",
"dept": "Staff 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?"
@ -111,8 +78,7 @@
{ {
"name": "DedShotTM", "name": "DedShotTM",
"id": "402154763363418142", "id": "402154763363418142",
"title": "Associate", "title": "Technician & Moderator",
"dept": "Staff Team",
"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",
@ -122,8 +88,7 @@
{ {
"name": "EdgyBoi2414", "name": "EdgyBoi2414",
"id": "397432516010835970", "id": "397432516010835970",
"title": "Webmaster", "title": "Core Team",
"dept": "Staff 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",
@ -132,8 +97,7 @@
{ {
"name": "Hector", "name": "Hector",
"id": "377781496292835339", "id": "377781496292835339",
"title": "Associate", "title": "Core Team",
"dept": "Staff 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",
@ -142,8 +106,7 @@
{ {
"name": "KhaaZ", "name": "KhaaZ",
"id": "179908288337412096", "id": "179908288337412096",
"title": "Associate", "title": "Core Team",
"dept": "Staff Team",
"gitlab": "https://gitlab.libraryofcode.org/KhaaZ", "gitlab": "https://gitlab.libraryofcode.org/KhaaZ",
"github": "https://github.com/Khaazz", "github": "https://github.com/Khaazz",
"bio": "I baguette for a living and eat code for breakfast." "bio": "I baguette for a living and eat code for breakfast."