fix: Remove duplicate function call in EvalCog's _eval method

This commit is contained in:
Slipstream 2025-05-30 15:52:41 -06:00
parent a89671fa42
commit 78af2a484f
Signed by: slipstream
GPG Key ID: 13E498CE010AC6FD

View File

@ -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```')