aboutsummaryrefslogtreecommitdiff
path: root/src/tasks
diff options
context:
space:
mode:
authorIRONM00N <64110067+IRONM00N@users.noreply.github.com>2021-09-03 19:28:37 -0400
committerIRONM00N <64110067+IRONM00N@users.noreply.github.com>2021-09-03 19:28:37 -0400
commit303938bf3bcce033f9feb8324410bbc0ef83e466 (patch)
tree9aec674d5b8104270a47d1fdd53c9d5ad41cc572 /src/tasks
parent06daa15924c763773a0483eb2083333d53b43e68 (diff)
downloadtanzanite-303938bf3bcce033f9feb8324410bbc0ef83e466.tar.gz
tanzanite-303938bf3bcce033f9feb8324410bbc0ef83e466.tar.bz2
tanzanite-303938bf3bcce033f9feb8324410bbc0ef83e466.zip
remove metrics
Diffstat (limited to 'src/tasks')
-rw-r--r--src/tasks/customMetrics.ts14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/tasks/customMetrics.ts b/src/tasks/customMetrics.ts
deleted file mode 100644
index 49b17fe..0000000
--- a/src/tasks/customMetrics.ts
+++ /dev/null
@@ -1,14 +0,0 @@
-import { BushTask } from '@lib';
-
-export default class CustomMetricsTask extends BushTask {
- public constructor() {
- super('customMetrics', {
- delay: 10_000, // 10 seconds
- runOnStart: true
- });
- }
- public override async exec(): Promise<void> {
- client.metrics.guilds.set(client.guilds.cache.size);
- client.metrics.users.set(client.users.cache.size);
- }
-}