Fix eval
This commit is contained in:
parent
a7189b48ea
commit
231b28da5f
1 changed files with 1 additions and 1 deletions
|
@ -239,7 +239,7 @@ class DevCog(commands.Cog):
|
||||||
@commands.is_owner()
|
@commands.is_owner()
|
||||||
@commands.command(name="eval")
|
@commands.command(name="eval")
|
||||||
async def _eval(self, ctx, *, code: str):
|
async def _eval(self, ctx, *, code: str):
|
||||||
output = eval(code, locals=locals(), globals=globals())
|
output = eval(code, locals(), globals())
|
||||||
await ctx.send(f"```{output}```")
|
await ctx.send(f"```{output}```")
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue