mirror of
https://github.com/myned/modufur.git
synced 2024-12-24 22:27:28 +00:00
Error output to ctx helper method
This commit is contained in:
parent
cecd1f3abc
commit
33891cb409
1 changed files with 4 additions and 0 deletions
|
@ -1,6 +1,10 @@
|
||||||
base = '⚠️ **An internal error has occurred.** Please notify my master! 🐺'
|
base = '⚠️ **An internal error has occurred.** Please notify my master! 🐺'
|
||||||
|
|
||||||
|
|
||||||
|
async def send_error(ctx, error):
|
||||||
|
await ctx.send('{}\n```\n{}```'.format(base, error))
|
||||||
|
|
||||||
|
|
||||||
class Left(Exception):
|
class Left(Exception):
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue