From 2e660ee31c397d6787389f0e8317321749142902 Mon Sep 17 00:00:00 2001 From: Bsian Date: Sat, 7 Nov 2020 12:44:23 +0000 Subject: [PATCH 1/3] Comment stuff out for now --- src/class/AutoMod.ts | 4 ++++ 1 file changed, 4 insertions(+) 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(`__**`) } + */ } } From e395f4087a4be128f23fec1adee14c975aa1bc37 Mon Sep 17 00:00:00 2001 From: Bsian Date: Sat, 7 Nov 2020 12:46:46 +0000 Subject: [PATCH 2/3] lint --- src/class/Report.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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) { + // + } } From 4578819c1a8578f8ed011e2454dfc50d8d01f668 Mon Sep 17 00:00:00 2001 From: Bsian Date: Sat, 7 Nov 2020 12:58:26 +0000 Subject: [PATCH 3/3] Fix history --- src/commands/score_hist.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/commands/score_hist.ts b/src/commands/score_hist.ts index 96fe945..c7c299f 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 = {