diff options
Diffstat (limited to 'events/popehour.js')
| -rw-r--r-- | events/popehour.js | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/events/popehour.js b/events/popehour.js new file mode 100644 index 0000000..cf84b3d --- /dev/null +++ b/events/popehour.js @@ -0,0 +1,12 @@ +const cron = require("node-cron"); + +module.exports = { + name: 'clientReady', + async execute() { + cron.schedule("0 37 21 * * *", async () => { + await globalThis.client.channels.fetch("1259913084819210330"); + globalThis.client.channels.cache.get("1259913084819210330").send("<@1425229394703683614> jp2gmd"); + }); + } +} + |
