aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar MarkKoz <[email protected]>2020-02-15 20:10:42 -0800
committerGravatar MarkKoz <[email protected]>2020-02-15 20:10:42 -0800
commitf5cd7e357de26c81b462b8935ec4bdaa032429fc (patch)
tree216b0993d72fff5d052d4aaf600ceb822d92fa85
parentScheduler: remove create_task function (diff)
Scheduler: correct schedule_task's docstring
-rw-r--r--bot/utils/scheduling.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/utils/scheduling.py b/bot/utils/scheduling.py
index 7b055f5e7..adf10d683 100644
--- a/bot/utils/scheduling.py
+++ b/bot/utils/scheduling.py
@@ -33,7 +33,7 @@ class Scheduler(metaclass=CogABCMeta):
"""
Schedules a task.
- `task_data` is passed to `Scheduler._scheduled_expiration`
+ `task_data` is passed to the `Scheduler._scheduled_task()` coroutine.
"""
if task_id in self.scheduled_tasks:
log.debug(