Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Add an API for defining cronjobs #49

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

itskarudo
Copy link
Contributor

This defines an easier API for creating cronjobs that run within the bot. It also adds /cron <start/stop> commands to control individual or all crons.

It can be used to eventually refactor crons such as create_upcoming_events out of the main bot class.

This interface still feels a bit wonky on some corners, any feedback would be appreciated.

This defines an easier API for creating cronjobs that run within the bot.
It also adds /cron <start/stop> commands to control individual or all crons

fix: please the formatter gods?

fix: isort things
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants