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

@@ -983,7 +983,9 @@ class CommandTree(Generic[ClientT]):
return self._state._translator
async def set_translator(self, translator: Optional[Translator]) -> None:
"""Sets the translator to use for translating commands.
"""|coro|
Sets the translator to use for translating commands.
If a translator was previously set, it will be unloaded using its
:meth:`Translator.unload` method.