This commit is contained in:
Zeva Rose 2021-06-27 19:12:39 -06:00
parent 4ec596ae40
commit a7189b48ea

View file

@ -237,7 +237,7 @@ class DevCog(commands.Cog):
await ctx.send(f"```\n{output}\n```") await ctx.send(f"```\n{output}\n```")
@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=locals(), globals=globals())
await ctx.send(f"```{output}```") await ctx.send(f"```{output}```")