merge-requests/17/head
Hiroyuki 2021-03-05 21:24:42 -04:00
parent 94d6d7fdca
commit e89b8bc087
No known key found for this signature in database
GPG Key ID: C15AC26538975A24
2 changed files with 7 additions and 1 deletions

View File

@ -64,7 +64,7 @@ export default class Whois extends Command {
if (ackResolve?.github) { if (ackResolve?.github) {
description += `${emotes.github} ${ackResolve?.github}\n`; description += `${emotes.github} ${ackResolve?.github}\n`;
} }
if (ackResolve?.additional?.bio) { if (ackResolve?.bio) {
description += `${emotes.bio} *${ackResolve?.bio}*\n`; description += `${emotes.bio} *${ackResolve?.bio}*\n`;
} }
description += `\n<@${member.id}>`; description += `\n<@${member.id}>`;

View File

@ -9,6 +9,9 @@ export interface StaffInterface extends Document {
emailAddress: string, emailAddress: string,
extension: string, extension: string,
acknowledgements: string[], acknowledgements: string[],
github: string,
gitlab: string,
bio: string,
} }
const Staff: Schema = new Schema({ const Staff: Schema = new Schema({
@ -20,6 +23,9 @@ const Staff: Schema = new Schema({
emailAddress: String, emailAddress: String,
extension: String, extension: String,
acknowledgements: Array, acknowledgements: Array,
github: String,
gitlab: String,
bio: String,
}); });
export default model<StaffInterface>('Staff', Staff); export default model<StaffInterface>('Staff', Staff);