diff options
author | Roman Gräf <romangraef@loves.dicksinhisan.us> | 2020-09-05 23:19:39 +0200 |
---|---|---|
committer | Roman Gräf <romangraef@loves.dicksinhisan.us> | 2020-09-05 23:19:39 +0200 |
commit | 2b10e99265f816f34e8530bac6b88a4ebf05b7f7 (patch) | |
tree | 1fcfc6edc27a646f6b1323505365f160e52968c9 /bot/_bs/tasks.py | |
download | discord-bootstrap-2b10e99265f816f34e8530bac6b88a4ebf05b7f7.tar.gz discord-bootstrap-2b10e99265f816f34e8530bac6b88a4ebf05b7f7.tar.bz2 discord-bootstrap-2b10e99265f816f34e8530bac6b88a4ebf05b7f7.zip |
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'] |