From aa725f4a4ac3ab0e2f9147f931df1ecef94b505b Mon Sep 17 00:00:00 2001 From: Chrovo <83519535+Chrovo@users.noreply.github.com> Date: Sun, 6 Mar 2022 19:03:36 -0500 Subject: [PATCH] [docs] Fix typo in tasks docs --- discord/ext/tasks/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/discord/ext/tasks/__init__.py b/discord/ext/tasks/__init__.py index cc4b5f28d..030916206 100644 --- a/discord/ext/tasks/__init__.py +++ b/discord/ext/tasks/__init__.py @@ -504,7 +504,7 @@ class Loop(Generic[LF]): return coro def after_loop(self, coro: FT) -> FT: - """A decorator that register a coroutine to be called after the loop finished running. + """A decorator that registers a coroutine to be called after the loop finishes running. The coroutine must take no arguments (except ``self`` in a class context).