Add coro tag to docstrings that were missing it

This commit is contained in:
ster authored and GitHub committed 2022-10-02 17:52:18 -04:00
1 parent dc34a8f1dc
commit 95b6bd8782
6 files changed
+31 -10

No files matched your search

+3 -1
View File
@@ -1059,7 +1059,9 @@ class BotBase(GroupMixin[None]):
await self._call_module_finalizers(lib, name)
async def reload_extension(self, name: str, *, package: Optional[str] = None) -> None:
"""Atomically reloads an extension.
"""|coro|
Atomically reloads an extension.
This replaces the extension with the same extension, only refreshed. This is
equivalent to a :meth:`unload_extension` followed by a :meth:`load_extension`