Merge branch 'master' of gitlab.libraryofcode.org:engineering/communityrelations

pull/29/head
Matthew 2020-11-08 01:00:12 -05:00
commit 03f3e38fc4
No known key found for this signature in database
GPG Key ID: 210AF32ADE3B5C4B
3 changed files with 9 additions and 3 deletions

View File

@ -18,14 +18,18 @@ export default class AutoMod extends Moderation {
}
public run(message: Message, member: Member) {
/*
try {
if (member)
}
*/
}
public warn(message: Message, member: Member) {
/*
try {
await message.channel.createMessage(`__**`)
}
*/
}
}

View File

@ -1,5 +1,7 @@
import { Client, RichEmbed } from '.';
export default class Report {
public static async soft(userID: string)
public static async soft(userID: string) {
//
}
}

View File

@ -83,8 +83,8 @@ export default class Score_Hist extends Command {
if (testDate > new Date()) hardInquiries++;
});
data += `__CommScore™:__ ${totalScore}\n__Activity:__ ${activityScore}\n__Roles:__ ${roleScore}\n__Moderation:__ ${moderationScore}\n__Cloud Services:__ ${cloudServicesScore}\n__Other:__ ${otherScore}\n__Misc:__ ${miscScore}\n\n__Hard Inquiries:__ ${hardInquiries}\n__Soft Inquiries:__ ${hist.report.softInquiries?.length ?? '0'}`;
histArray.push({ name: moment(hist.date).calendar(), value: data });
}
histArray.push({ name: moment(hist.date).calendar(), value: data });
}
const stat = {
@ -235,8 +235,8 @@ export default class Score_Hist extends Command {
if (testDate > new Date()) hardInquiries++;
});
data += `__CommScore™:__ ${totalScore}\n__Activity:__ ${activityScore}\n__Roles:__ ${roleScore}\n__Moderation:__ ${moderationScore}\n__Cloud Services:__ ${cloudServicesScore}\n__Other:__ ${otherScore}\n__Misc:__ ${miscScore}\n\n__Hard Inquiries:__ ${hardInquiries}\n__Soft Inquiries:__ ${hist.report.softInquiries?.length ?? '0'}`;
histArray.push({ name: moment(hist.date).calendar(), value: data });
}
histArray.push({ name: moment(hist.date).calendar(), value: data });
}
const stat = {