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