mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-10-20 23:42:58 +00:00
Add coro tag to docstrings that were missing it
This commit is contained in:
@@ -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.
|
||||
|
Reference in New Issue
Block a user