From abf70fe6a0c15110f8a88ce4ec4d131bd8c297ac Mon Sep 17 00:00:00 2001 From: Zevaryx Date: Sun, 27 Jun 2021 19:52:28 -0600 Subject: [PATCH] Prepare code before execution --- jarvis/cogs/dev.py | 1 + 1 file changed, 1 insertion(+) diff --git a/jarvis/cogs/dev.py b/jarvis/cogs/dev.py index 2fe056f..0c87f8f 100644 --- a/jarvis/cogs/dev.py +++ b/jarvis/cogs/dev.py @@ -272,6 +272,7 @@ class DevCog(commands.Cog): @commands.command(pass_context=True, aliases=["eval", "exec", "evaluate"]) @commands.is_owner() async def _eval(self, ctx, *, code: str): + code = self.prepare(code) args = { "discord": discord, "sauce": getsource,