diff --git a/src/intervals/score.ts b/src/intervals/score.ts index 496188d..f837530 100644 --- a/src/intervals/score.ts +++ b/src/intervals/score.ts @@ -104,7 +104,7 @@ export default async function calculateScore(client: Client): Promise (Math.log1p(getTotalMessageCount(client)) * 12)) activity = Math.floor((Math.log1p(getTotalMessageCount(client)) * 12)); - if (member.roles.includes('446104438969466890') || member.roles.includes('701481967149121627')) staff = 20; + if (member.roles.includes('446104438969466890') || member.roles.includes('701481967149121627')) staff += 5; const response = await CloudServicesUtil.fetchAccountStatus(member.user.id, client.config.internalKey); if (response || response?.found === true) { @@ -160,6 +160,7 @@ export default async function calculateScore(client: Client): Promise 0) { for (const judgement of judgements) { switch (judgement.severity) { + // eslint-disable-next-line default-case-last default: break; case 0: @@ -198,6 +199,7 @@ export default async function calculateScore(client: Client): Promise { await start(); + // 1 hour }, 3600000); return interval; }