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);