aboutsummaryrefslogtreecommitdiffstats
path: root/bot/exts/internal_eval
diff options
context:
space:
mode:
authorGravatar ToxicKidz <[email protected]>2021-05-10 09:30:46 -0400
committerGravatar ToxicKidz <[email protected]>2021-05-10 09:30:46 -0400
commit52aa6dcd499fc3e757a226c1192755888a6d88ef (patch)
treecdc69a9a5804e8b590a82055b2b500d8c09016a3 /bot/exts/internal_eval
parentchore: Apply more suggested changes (diff)
chore: ctx.message.author -> ctx.author
Diffstat (limited to 'bot/exts/internal_eval')
-rw-r--r--bot/exts/internal_eval/_internal_eval.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/exts/internal_eval/_internal_eval.py b/bot/exts/internal_eval/_internal_eval.py
index 4fe3bc09..56bf5add 100644
--- a/bot/exts/internal_eval/_internal_eval.py
+++ b/bot/exts/internal_eval/_internal_eval.py
@@ -114,7 +114,7 @@ class InternalEval(commands.Cog):
"""Evaluate the `code` in the current evaluation context."""
context_vars = {
"message": ctx.message,
- "author": ctx.message.author,
+ "author": ctx.author,
"channel": ctx.channel,
"guild": ctx.guild,
"ctx": ctx,