From e89b8bc087407fdf79e8e2593d452779685ab3c7 Mon Sep 17 00:00:00 2001 From: Hiroyuki Date: Fri, 5 Mar 2021 21:24:42 -0400 Subject: [PATCH] fixes --- src/commands/whois.ts | 2 +- src/models/Staff.ts | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/src/commands/whois.ts b/src/commands/whois.ts index cbd4851..ca29c3d 100644 --- a/src/commands/whois.ts +++ b/src/commands/whois.ts @@ -64,7 +64,7 @@ export default class Whois extends Command { if (ackResolve?.github) { description += `${emotes.github} ${ackResolve?.github}\n`; } - if (ackResolve?.additional?.bio) { + if (ackResolve?.bio) { description += `${emotes.bio} *${ackResolve?.bio}*\n`; } description += `\n<@${member.id}>`; diff --git a/src/models/Staff.ts b/src/models/Staff.ts index ec22b56..6bb6ad4 100644 --- a/src/models/Staff.ts +++ b/src/models/Staff.ts @@ -9,6 +9,9 @@ export interface StaffInterface extends Document { emailAddress: string, extension: string, acknowledgements: string[], + github: string, + gitlab: string, + bio: string, } const Staff: Schema = new Schema({ @@ -20,6 +23,9 @@ const Staff: Schema = new Schema({ emailAddress: String, extension: String, acknowledgements: Array, + github: String, + gitlab: String, + bio: String, }); export default model('Staff', Staff);