fix: Remove duplicate function call in EvalCog's _eval method
This commit is contained in:
parent
a89671fa42
commit
78af2a484f
@ -45,7 +45,6 @@ class EvalCog(commands.Cog):
|
||||
try:
|
||||
with contextlib.redirect_stdout(stdout):
|
||||
ret = await func()
|
||||
ret = await func()
|
||||
except Exception as e:
|
||||
value = stdout.getvalue()
|
||||
await ctx.send(f'```py\n{value}{traceback.format_exc()}\n```')
|
||||
|
Loading…
x
Reference in New Issue
Block a user