add log to admin eval namespace

This commit is contained in:
Infinidoge 2025-01-01 01:24:49 -05:00
parent 66747982db
commit 83fd598f9d
Signed by: Infinidoge
SSH key fingerprint: SHA256:EMoPe5e2dO0gEvtBb2xkZTz5dkyL0rBmuiGTKG5s96E

View file

@ -217,6 +217,7 @@ async def admin_eval(ctx, *, body: str):
"author": ctx.author, "author": ctx.author,
"guild": ctx.guild, "guild": ctx.guild,
"message": ctx.message, "message": ctx.message,
"log": log.getChild("eval"),
} }
env.update(globals()) env.update(globals())