aboutsummaryrefslogtreecommitdiff
path: root/src/tasks
diff options
context:
space:
mode:
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);
- }
-}