diff options
Diffstat (limited to 'bot/_bs/tasks.py')
-rw-r--r-- | bot/_bs/tasks.py | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/bot/_bs/tasks.py b/bot/_bs/tasks.py new file mode 100644 index 0000000..29c3883 --- /dev/null +++ b/bot/_bs/tasks.py @@ -0,0 +1,10 @@ +from functools import partial + +tasks = {} + + +def task(name: str): + return partial(tasks.__setitem__, name) + + +__all__ = ['task'] |