aboutsummaryrefslogtreecommitdiff
path: root/src/tasks/cpuUsage.ts
diff options
context:
space:
mode:
authorIRONM00N <64110067+IRONM00N@users.noreply.github.com>2021-12-13 19:19:06 -0500
committerIRONM00N <64110067+IRONM00N@users.noreply.github.com>2021-12-13 19:19:06 -0500
commit8a27a3428dc3946a538f6471e480a34e41ceb7e6 (patch)
treeca45e5d9a94b32aa410624ae8a02d53f11cb4a33 /src/tasks/cpuUsage.ts
parent64d8476209d33c06547988c27874b986814db232 (diff)
downloadtanzanite-8a27a3428dc3946a538f6471e480a34e41ceb7e6.tar.gz
tanzanite-8a27a3428dc3946a538f6471e480a34e41ceb7e6.tar.bz2
tanzanite-8a27a3428dc3946a538f6471e480a34e41ceb7e6.zip
added new automod thing, fixed some errors
Diffstat (limited to 'src/tasks/cpuUsage.ts')
-rw-r--r--src/tasks/cpuUsage.ts1
1 files changed, 1 insertions, 0 deletions
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;