aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar ks129 <[email protected]>2020-06-18 09:10:55 +0300
committerGravatar GitHub <[email protected]>2020-06-18 09:10:55 +0300
commit4c9a62f93fd7b92051dd40e4d799236d65e154ab (patch)
treefe22e617aed0726b039333971b7e81b8dd5897be
parentSource: Exclude `tag` from error message when tags cog not loaded (diff)
Source: Split to multiple lines to fix too long line on error raising
Diffstat (limited to '')
-rw-r--r--bot/cogs/source.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/bot/cogs/source.py b/bot/cogs/source.py
index 223552651..f1db745cd 100644
--- a/bot/cogs/source.py
+++ b/bot/cogs/source.py
@@ -35,7 +35,9 @@ class SourceConverter(commands.Converter):
elif argument.lower() in tags_cog._cache:
return argument.lower()
- raise commands.BadArgument(f"Unable to convert `{argument}` to valid command{', tag,' if show_tag else ''} or Cog.")
+ raise commands.BadArgument(
+ f"Unable to convert `{argument}` to valid command{', tag,' if show_tag else ''} or Cog."
+ )
class BotSource(commands.Cog):