From 6e6d16093cd6907e2a5a63e5edc1d84605201fcc Mon Sep 17 00:00:00 2001 From: Cobalt <65132371+cobaltgit@users.noreply.github.com> Date: Mon, 18 Apr 2022 11:26:50 +0100 Subject: [PATCH] Update extensions primer in line with async breaking changes --- docs/ext/commands/extensions.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/ext/commands/extensions.rst b/docs/ext/commands/extensions.rst index 136e8c920..9351c9702 100644 --- a/docs/ext/commands/extensions.rst +++ b/docs/ext/commands/extensions.rst @@ -10,7 +10,7 @@ There comes a time in the bot development when you want to extend the bot functi Primer -------- -An extension at its core is a python file with an entry point called ``setup``. This setup must be a plain Python function (not a coroutine). It takes a single parameter -- the :class:`~.commands.Bot` that loads the extension. +An extension at its core is a python file with an entry point called ``setup``. This setup function must be a Python coroutine. It takes a single parameter -- the :class:`~.commands.Bot` that loads the extension. An example extension looks like this: