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

View File

@ -2,8 +2,7 @@
{
"name": "Matthew",
"id": "278620217221971968",
"title": "Marshal General of Engineering",
"dept": "Faculty Marshals",
"title": "Board of Directors",
"emailAddress": "matthew@staff.libraryofcode.org",
"gitlab": "https://gitlab.libraryofcode.org/matthew",
"github": "https://github.com/matthew119427",
@ -13,8 +12,7 @@
{
"name": "Joe",
"id": "556969659531001858",
"title": "Marshal General of Community Relations",
"dept": "Faculty Marshals",
"title": "Board of Directors",
"emailAddress": "joe@staff.libraryofcode.org",
"gitlab": "https://gitlab.libraryofcode.org/Joe",
"github": "https://github.com/sirdroolio",
@ -24,8 +22,7 @@
{
"name": "Bsian",
"id": "253600545972027394",
"title": "Assistant Marshal General of Engineering",
"dept": "Faculty Marshals",
"title": "Board of Directors",
"emailAddress": "bsian@staff.libraryofcode.org",
"bio": "I also like trains",
"acknowledgements": ["Maintainer & Assistant Lead Developer"]
@ -33,23 +30,20 @@
{
"name": "NightRaven",
"id": "239261547959025665",
"title": "Assistant Marshal General of Community Relations",
"dept": "Faculty Marshals",
"title": "Board of Directors",
"emailAddress": "nightraven@staff.libraryofcode.org",
"bio": "I like trains"
},
{
"name": "Midori",
"id": "109122112643440640",
"title": "Assistant Marshal General of Community Relations",
"dept": "Faculty Marshals",
"title": "Board of Directors",
"emailAddress": "midori@staff.libraryofcode.org"
},
{
"name": "Unknown",
"id": "143414786913206272",
"title": "Staff Sergeant",
"dept": "Faculty Marshals",
"title": "Board of Directors",
"emailAddress": "unknown@staff.libraryofcode.org",
"gitlab": "https://gitlab.libraryofcode.org/unknown",
"bio": "im not a proffesional developer or anything, i just enjoy it as a hobby."
@ -57,53 +51,26 @@
{
"name": "TheSkele27",
"id": "213632190557192192",
"title": "Community Advisor",
"dept": "Faculty Marshals",
"title": "Board of Directors",
"emailAddress": "theskele27@staff.libraryofcode.org",
"gitlab": "https://gitlab.libraryofcode.org/TheSkele27",
"github": "https://github.com/TheSkele27",
"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",
"id": "283318906024886272",
"title": "Associate",
"dept": "Staff Team",
"emailAddress": "besero@staff.libraryofcode.org",
"gitlab": "https://gitlab.libraryofcode.org/besero_gg",
"github": "https://github.com/kledi-harding",
"bio": "Just looking for some fun. I like going on long walks in the park. No guys",
"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",
"id": "468009964263178262",
"title": "Associate",
"dept": "Staff Team",
"title": "Core Team",
"emailAddress": "dexter@staff.libraryofcode.org",
"gitlab": "https://gitlab.libraryofcode.org/D3XTER",
"bio": "Hi I'm D3XTER how are ya?"
@ -111,8 +78,7 @@
{
"name": "DedShotTM",
"id": "402154763363418142",
"title": "Associate",
"dept": "Staff Team",
"title": "Technician & Moderator",
"emailAddress": "dedshot@staff.libraryofcode.org",
"gitlab": "https://gitlab.libraryofcode.org/DedShotTM",
"github": "https://github.com/DedShotTM",
@ -122,8 +88,7 @@
{
"name": "EdgyBoi2414",
"id": "397432516010835970",
"title": "Webmaster",
"dept": "Staff Team",
"title": "Core Team",
"emailAddress": "edgyboi2414@gmail.com",
"gitlab": "https://gitlab.libraryofcode.org/EdgyBoi2414",
"github": "https://github.com/EdgyBoi2414",
@ -132,8 +97,7 @@
{
"name": "Hector",
"id": "377781496292835339",
"title": "Associate",
"dept": "Staff Team",
"title": "Core Team",
"emailAddress": "hector@staff.libraryofcode.org",
"gitlab": "https://gitlab.libraryofcode.org/Hector",
"github": "https://github.com/Hector6704",
@ -142,8 +106,7 @@
{
"name": "KhaaZ",
"id": "179908288337412096",
"title": "Associate",
"dept": "Staff Team",
"title": "Core Team",
"gitlab": "https://gitlab.libraryofcode.org/KhaaZ",
"github": "https://github.com/Khaazz",
"bio": "I baguette for a living and eat code for breakfast."