[V3] Cleanup quotes in cogs (#1782)

* Cleanup quotes in cogs

* More quote cleanup that I missed

fixed a little bit of grammar here and there as well.

* [V3 Warnings] Change allowcustomreasons docstring

To help not confuse users who would believe that the command would use allow or disallow.

* Run black reformat
This commit is contained in:
Eslyium
2018-06-07 00:42:59 -04:00
committed by Will
parent f830f73ae6
commit 60a72b2ba4
30 changed files with 99 additions and 123 deletions

View File

@@ -250,7 +250,7 @@ class CogManager:
mod = import_module(real_name, package="redbot.cogs")
except ImportError as e:
raise RuntimeError(
"No core cog by the name of '{}' could" "be found.".format(name)
"No core cog by the name of '{}' could be found.".format(name)
) from e
return mod.__spec__
@@ -342,9 +342,7 @@ class CogManagerUI:
Add a path to the list of available cog paths.
"""
if not path.is_dir():
await ctx.send(
_("That path does not exist or does not" " point to a valid directory.")
)
await ctx.send(_("That path does not exist or does not point to a valid directory."))
return
try:
@@ -419,7 +417,7 @@ class CogManagerUI:
install_path = await ctx.bot.cog_mgr.install_path()
await ctx.send(
_("The bot will install new cogs to the `{}`" " directory.").format(install_path)
_("The bot will install new cogs to the `{}` directory.").format(install_path)
)
@commands.command()