Third time's the charm
This commit is contained in:
parent
43d2eee27a
commit
c74581d380
1 changed files with 1 additions and 1 deletions
|
@ -243,7 +243,7 @@ class DevCog(commands.Cog):
|
||||||
try:
|
try:
|
||||||
output = eval(code, locals(), globals())
|
output = eval(code, locals(), globals())
|
||||||
except Exception:
|
except Exception:
|
||||||
output = traceback.format_tb()
|
output = traceback.format_exc()
|
||||||
await ctx.send(f"```{output}```")
|
await ctx.send(f"```{output}```")
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue