aboutsummaryrefslogtreecommitdiff
path: root/discord/ext/tasks
diff options
context:
space:
mode:
authorSuhail <[email protected]>2019-05-19 19:42:32 +0100
committerRapptz <[email protected]>2019-05-19 19:17:28 -0400
commitdb9a293f14fe502e0f30b2a7b73cccec480d363b (patch)
tree54349c8c45e29bd4244896ef9f81d6688e4dc090 /discord/ext/tasks
parentValidate kwargs in Client.start (diff)
downloaddiscord.py-db9a293f14fe502e0f30b2a7b73cccec480d363b.tar.xz
discord.py-db9a293f14fe502e0f30b2a7b73cccec480d363b.zip
[tasks] Add version added note to Loop.change_interval
Diffstat (limited to 'discord/ext/tasks')
-rw-r--r--discord/ext/tasks/__init__.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/discord/ext/tasks/__init__.py b/discord/ext/tasks/__init__.py
index 601d0603..b53539eb 100644
--- a/discord/ext/tasks/__init__.py
+++ b/discord/ext/tasks/__init__.py
@@ -316,6 +316,8 @@ class Loop:
This only applies on the next loop iteration. If it is desirable for the change of interval
to be applied right away, cancel the task with :meth:`cancel`.
+ .. versionadded:: 1.2.0
+
Parameters
------------
seconds: :class:`float`