diff --git a/src/class/AutoMod.ts b/src/class/AutoMod.ts index 3aebbad..da42242 100644 --- a/src/class/AutoMod.ts +++ b/src/class/AutoMod.ts @@ -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(`__**`) } + */ } } diff --git a/src/class/Report.ts b/src/class/Report.ts index 65dfcdb..7ca0ebe 100644 --- a/src/class/Report.ts +++ b/src/class/Report.ts @@ -1,5 +1,7 @@ import { Client, RichEmbed } from '.'; export default class Report { - public static async soft(userID: string) + public static async soft(userID: string) { + // + } } diff --git a/src/commands/score_hist.ts b/src/commands/score_hist.ts index 8184d5e..5a743c3 100644 --- a/src/commands/score_hist.ts +++ b/src/commands/score_hist.ts @@ -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 = {