aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar MarkKoz <[email protected]>2019-10-01 14:49:52 -0700
committerGravatar MarkKoz <[email protected]>2019-10-01 18:25:34 -0700
commit6209d998d45a6cfa772a098d85baccc480f2ea51 (patch)
tree1a6d05cce5d70e3291ee524fc9ed583d432c95ed
parentRefactor _scheduled_task & remove extraneous DM for expired infractions (diff)
Fix string representation of bot user in mod log
-rw-r--r--bot/cogs/moderation/infractions.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/cogs/moderation/infractions.py b/bot/cogs/moderation/infractions.py
index 607f03f46..3b956e6e1 100644
--- a/bot/cogs/moderation/infractions.py
+++ b/bot/cogs/moderation/infractions.py
@@ -265,7 +265,7 @@ class Infractions(Scheduler, Cog):
log_text = {
"Member": str(user_id),
- "Actor": str(self.bot)
+ "Actor": str(self.bot.user)
}
try: