aboutsummaryrefslogtreecommitdiff
path: root/docs/ext/tasks
diff options
context:
space:
mode:
authorRapptz <[email protected]>2019-04-11 08:26:46 -0400
committerRapptz <[email protected]>2019-04-11 08:26:46 -0400
commit4cf96107aeb02846b96207f32a8ff1627d4ad5e1 (patch)
treee0e2efb3981783446a441cfdcc072a0d77608cab /docs/ext/tasks
parent[tasks] Ensure total number of seconds is not less than 0. (diff)
downloaddiscord.py-4cf96107aeb02846b96207f32a8ff1627d4ad5e1.tar.xz
discord.py-4cf96107aeb02846b96207f32a8ff1627d4ad5e1.zip
[tasks] Document version added
Diffstat (limited to 'docs/ext/tasks')
-rw-r--r--docs/ext/tasks/index.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/docs/ext/tasks/index.rst b/docs/ext/tasks/index.rst
index aebb7f16..94d1320d 100644
--- a/docs/ext/tasks/index.rst
+++ b/docs/ext/tasks/index.rst
@@ -1,6 +1,8 @@
``discord.ext.tasks`` -- asyncio.Task helpers
====================================================
+.. versionadded:: 1.1.0
+
One of the most common operations when making a bot is having a loop run in the background at a specified interval. This pattern is very common but has a lot of things you need to look out for:
- How do I handle :exc:`asyncio.CancelledError`?