Prepare code before execution
This commit is contained in:
parent
7bf6958897
commit
abf70fe6a0
1 changed files with 1 additions and 0 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Reference in a new issue