A guide to scheduled tasks #577
Unanswered
Coding-Sock
asked this question in
Ideas
Replies: 2 comments
-
Someone should add the package node-cron to useful packages |
Beta Was this translation helpful? Give feedback.
0 replies
-
The goal of this guide is to explain in greater verbosity than possible on the library's documentation how to use it to write a functioning bot with some useful features. Having a section for absolutely any possible command out there is not part of this goal. Adding a scheduler to useful-packages with a short example is the extent to which this will be covered. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'd be interested in seeing a guide on how to create a scheduled events.
Some examples of this would be things like:
(~remind #channel Cool thing happens 12h)
(~announcement repeat 6h message contents for announcement type thing)
(~dailymessage #channel fancy embed message
(~updatepost messageid new version of embed message
(~schedule 24h ~prune #channel)
It would be some useful learning in terms of creating long running background tasks that have to persist through reboots, and tracking the ID of a past message to update it.
Beta Was this translation helpful? Give feedback.
All reactions