Merge branch 'dev' into 'main'

Added example event

See merge request illegitimate/illegitimate-bot!142
This commit is contained in:
2023-12-29 00:45:53 +00:00

18
src/events/cron/test.ts Normal file
View File

@@ -0,0 +1,18 @@
import { Cron } from "../../interfaces";
export = {
time: {
seconds: 0,
minutes: 0,
hours: 12,
dayOfMonth: 10,
month: 5,
dayOfWeek: 5
},
execute: () => {
console.log("Test cron executed!")
},
onComplete: null,
start: true,
timeZone: "Europe/Zagreb"
} as Cron