mirror of
https://github.com/myned/modufur.git
synced 2024-12-24 22:27:28 +00:00
Added Execute and Evaluate exceptions to be caught in the command
This commit is contained in:
parent
12c577d9b1
commit
8b0d3d5bb3
1 changed files with 34 additions and 26 deletions
|
@ -5,6 +5,14 @@ async def send_error(ctx, error):
|
||||||
await ctx.send('{}\n```\n{}```'.format(base, error))
|
await ctx.send('{}\n```\n{}```'.format(base, error))
|
||||||
|
|
||||||
|
|
||||||
|
class Execute(Exception):
|
||||||
|
pass
|
||||||
|
|
||||||
|
|
||||||
|
class Evaluate(Exception):
|
||||||
|
pass
|
||||||
|
|
||||||
|
|
||||||
class Left(Exception):
|
class Left(Exception):
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue