Skip to content
This repository has been archived by the owner on Dec 4, 2022. It is now read-only.

Commit

Permalink
oopsies
Browse files Browse the repository at this point in the history
  • Loading branch information
TheMoksej committed Jul 2, 2021
1 parent 163c47d commit 6f31b13
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion utils/btime.py
Original file line number Diff line number Diff line change
Expand Up @@ -183,8 +183,9 @@ async def convert(self, ctx, argument):
remaining = argument[:begin].strip()

return await self.check_constraints(ctx, now, remaining)
except commands.BadArgument as exc:
return await ctx.send(exc)
except Exception as exc:
return await ctx.channel.send(default.traceback_maker(exc))
raise commands.BadArgument(_("Sorry, but I did not understand what you meant. You probably didn't specify the time "
"or you specified it in another language (not English)"))

Expand Down

0 comments on commit 6f31b13

Please sign in to comment.