Interface: ScheduledTaskOptions
@sapphire/plugin-scheduled-tasks.ScheduledTaskOptions
Hierarchy
Options
↳
ScheduledTaskOptions
Properties
bullJobsOptions
• Optional
bullJobsOptions: Omit
<JobsOptions
, "repeat"
>
Defined in
projects/plugins/packages/scheduled-tasks/src/lib/structures/ScheduledTask.ts:23
enabled
• Optional
Readonly
enabled: boolean
Whether or not the piece should be enabled. If set to false, the piece will be unloaded.
Default
true
Inherited from
Piece.Options.enabled
Defined in
node_modules/@sapphire/pieces/dist/index.d.ts:420
interval
• Optional
interval: null
| number
Defined in
projects/plugins/packages/scheduled-tasks/src/lib/structures/ScheduledTask.ts:21
name
• Optional
Readonly
name: string
The name for the piece.
Default
''
Inherited from
Piece.Options.name
Defined in
node_modules/@sapphire/pieces/dist/index.d.ts:415
pattern
• Optional
pattern: null
| string
Defined in
projects/plugins/packages/scheduled-tasks/src/lib/structures/ScheduledTask.ts:22