import { BushTask } from '@lib'; export default class RemoveExpiredPunishmentsTask extends BushTask { public constructor() { super('removeExpiredPunishments', { delay: 10_000, // 10 seconds runOnStart: true }); } public override async exec(): Promise { client.metrics.guilds.set(client.guilds.cache.size); client.metrics.users.set(client.users.cache.size); } }