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
@@ -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.