diff options
author | 2020-03-04 20:28:00 +0700 | |
---|---|---|
committer | 2020-03-04 20:28:00 +0700 | |
commit | 1d8e441def5323b580df276fc8eff0eed578cd96 (patch) | |
tree | 0a5869064b679515f98d453ec3b62d2405e06c4c | |
parent | Merge pull request #811 from python-discord/feat/deps/o138/pre-commit-hooks (diff) | |
parent | Merge branch 'master' into extensions-cog-docstring-deprecation-warning (diff) |
Merge pull request #816 from python-discord/extensions-cog-docstring-deprecation-warning
Use raw strings for docstrings with forward slashes
-rw-r--r-- | bot/cogs/extensions.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bot/cogs/extensions.py b/bot/cogs/extensions.py index b312e1a1d..fb6cd9aa3 100644 --- a/bot/cogs/extensions.py +++ b/bot/cogs/extensions.py @@ -69,7 +69,7 @@ class Extensions(commands.Cog): @extensions_group.command(name="load", aliases=("l",)) async def load_command(self, ctx: Context, *extensions: Extension) -> None: - """ + r""" Load extensions given their fully qualified or unqualified names. If '\*' or '\*\*' is given as the name, all unloaded extensions will be loaded. @@ -86,7 +86,7 @@ class Extensions(commands.Cog): @extensions_group.command(name="unload", aliases=("ul",)) async def unload_command(self, ctx: Context, *extensions: Extension) -> None: - """ + r""" Unload currently loaded extensions given their fully qualified or unqualified names. If '\*' or '\*\*' is given as the name, all loaded extensions will be unloaded. @@ -109,7 +109,7 @@ class Extensions(commands.Cog): @extensions_group.command(name="reload", aliases=("r",)) async def reload_command(self, ctx: Context, *extensions: Extension) -> None: - """ + r""" Reload extensions given their fully qualified or unqualified names. If an extension fails to be reloaded, it will be rolled-back to the prior working state. |