fixes
parent
94d6d7fdca
commit
e89b8bc087
|
@ -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}>`;
|
||||
|
|
|
@ -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<StaffInterface>('Staff', Staff);
|
||||
|
|
Loading…
Reference in New Issue