aboutsummaryrefslogtreecommitdiffstats
path: root/bot
diff options
context:
space:
mode:
authorGravatar janine9vn <[email protected]>2020-12-11 15:03:57 -0500
committerGravatar Janine <[email protected]>2020-12-11 22:08:18 -0500
commitb6fa6385c82e216d9ef5d2cefe1dd1efc470008f (patch)
treea81a10770c47998af8c209f851c4259608cec0be /bot
parentChange custom error handler to match new style (diff)
Remove re-raising the error
Per Mark's comment, re-raising the error isn't necessary.
Diffstat (limited to 'bot')
-rw-r--r--bot/exts/christmas/advent_of_code/_cog.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/bot/exts/christmas/advent_of_code/_cog.py b/bot/exts/christmas/advent_of_code/_cog.py
index 0ad718b9..b6462ab2 100644
--- a/bot/exts/christmas/advent_of_code/_cog.py
+++ b/bot/exts/christmas/advent_of_code/_cog.py
@@ -376,5 +376,3 @@ class AdventOfCode(commands.Cog):
if isinstance(error, InChannelCheckFailure):
await ctx.send(f":x: Please use <#{Channels.advent_of_code_commands}> for aoc commands instead, please.")
error.handled = True
- else:
- raise error