diff options
author | 2020-12-11 15:03:57 -0500 | |
---|---|---|
committer | 2020-12-11 22:08:18 -0500 | |
commit | b6fa6385c82e216d9ef5d2cefe1dd1efc470008f (patch) | |
tree | a81a10770c47998af8c209f851c4259608cec0be | |
parent | Change custom error handler to match new style (diff) |
Remove re-raising the error
Per Mark's comment, re-raising the error isn't necessary.
-rw-r--r-- | bot/exts/christmas/advent_of_code/_cog.py | 2 |
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 |