-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
For some reason, threading in Python isn't really preferred (I never could understand why...). The BackgroundTaskManager currently uses threads to schedule and run various tasks simultaneously.
Since the code already exists, I don't plan on discarding it, but an option to not use threads would be rather nice. In such situations, an alternative function belonging to the Bot class will need to be called in an infinite loop, which will schedule the tasks using a simple check of elapsed time.
This change, along with a couple of bugfixes should be enough for version 1.
Metadata
Metadata
Assignees
Labels
No labels