aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Numerlor <[email protected]>2020-02-27 18:53:44 +0100
committerGravatar Numerlor <[email protected]>2020-02-27 18:53:44 +0100
commit848a613dee4bcbb00226fb98fc6501403dc0d7c7 (patch)
treed777b4133e265bf6f3d04fff7aa82b8d56ab5899
parentLog invalid tag names in the error handler tag fallback. (diff)
Remove unnecessary newlines from call.
-rw-r--r--bot/cogs/error_handler.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/bot/cogs/error_handler.py b/bot/cogs/error_handler.py
index fff1f8c9f..0d4604430 100644
--- a/bot/cogs/error_handler.py
+++ b/bot/cogs/error_handler.py
@@ -98,10 +98,7 @@ class ErrorHandler(Cog):
)
else:
with contextlib.suppress(ResponseCodeError):
- await ctx.invoke(
- tags_get_command,
- tag_name=tag_name
- )
+ await ctx.invoke(tags_get_command, tag_name=tag_name)
return
elif isinstance(e, BadArgument):
await ctx.send(f"Bad argument: {e}\n")