From 8a27a3428dc3946a538f6471e480a34e41ceb7e6 Mon Sep 17 00:00:00 2001 From: IRONM00N <64110067+IRONM00N@users.noreply.github.com> Date: Mon, 13 Dec 2021 19:19:06 -0500 Subject: added new automod thing, fixed some errors --- src/tasks/cpuUsage.ts | 1 + 1 file changed, 1 insertion(+) (limited to 'src/tasks/cpuUsage.ts') diff --git a/src/tasks/cpuUsage.ts b/src/tasks/cpuUsage.ts index e597b31..882d660 100644 --- a/src/tasks/cpuUsage.ts +++ b/src/tasks/cpuUsage.ts @@ -8,6 +8,7 @@ export default class CpuUsageTask extends BushTask { runOnStart: true }); } + public override async exec() { const cpu = await osu.cpu.usage(client.stats.cpu === undefined ? 100 : 60_000); client.stats.cpu = cpu; -- cgit