© 2026 Hedgehog Software, LLC
[ScheduledTaskPlugin] There was no task found for "task_name"
import { ApplyOptions } from "@sapphire/decorators" import { ScheduledTask } from "@sapphire/plugin-scheduled-tasks" import { Time } from "@sapphire/time-utilities" @ApplyOptions<ScheduledTask.Options>({ interval: Time.Minute, name: "violation" }) export class ViolationCheckTask extends ScheduledTask { public async run() { this.container.utilities.violation.check() } }
tasks: { bull: { defaultJobOptions: { removeOnComplete: true, }, connection: { host: "localhost", port: 6379, }, }, },