Add coro tag to docstrings that were missing it

This commit is contained in:
ster
2022-10-03 06:52:18 +09:00
committed by GitHub
parent dc34a8f1dc
commit 95b6bd8782
6 changed files with 31 additions and 10 deletions

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`