Merge branch 'master' of gitlab.libraryofcode.org:engineering/communityrelations
commit
03f3e38fc4
|
@ -18,14 +18,18 @@ export default class AutoMod extends Moderation {
|
||||||
}
|
}
|
||||||
|
|
||||||
public run(message: Message, member: Member) {
|
public run(message: Message, member: Member) {
|
||||||
|
/*
|
||||||
try {
|
try {
|
||||||
if (member)
|
if (member)
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
}
|
}
|
||||||
|
|
||||||
public warn(message: Message, member: Member) {
|
public warn(message: Message, member: Member) {
|
||||||
|
/*
|
||||||
try {
|
try {
|
||||||
await message.channel.createMessage(`__**`)
|
await message.channel.createMessage(`__**`)
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
import { Client, RichEmbed } from '.';
|
import { Client, RichEmbed } from '.';
|
||||||
|
|
||||||
export default class Report {
|
export default class Report {
|
||||||
public static async soft(userID: string)
|
public static async soft(userID: string) {
|
||||||
|
//
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -83,8 +83,8 @@ export default class Score_Hist extends Command {
|
||||||
if (testDate > new Date()) hardInquiries++;
|
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'}`;
|
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 = {
|
const stat = {
|
||||||
|
@ -235,8 +235,8 @@ export default class Score_Hist extends Command {
|
||||||
if (testDate > new Date()) hardInquiries++;
|
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'}`;
|
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 = {
|
const stat = {
|
||||||
|
|
Loading…
Reference in New Issue