aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Leon Sandøy <[email protected]>2018-09-27 08:34:10 +0000
committerGravatar Leon Sandøy <[email protected]>2018-09-27 08:34:10 +0000
commit92791fcde47cddaff69aea9577aa173371a9d998 (patch)
tree87e094e1c5259a231c6dae6ef5e27f83e97ae565
parentMerge branch 'feature/tag-image-urls' into 'master' (diff)
maybe next time the mod log breaks we can fix it before it's been 2 weeks. I'M SORRY.
-rw-r--r--bot/cogs/modlog.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/cogs/modlog.py b/bot/cogs/modlog.py
index 2f72d92fc..7240186f1 100644
--- a/bot/cogs/modlog.py
+++ b/bot/cogs/modlog.py
@@ -360,7 +360,7 @@ class ModLog:
now = datetime.datetime.utcnow()
difference = abs(relativedelta(now, member.created_at))
- message += "\n\n**Account age:** " + humanize_delta(member.created_at)
+ message += "\n\n**Account age:** " + humanize_delta(difference)
if difference.days < 1 and difference.months < 1 and difference.years < 1: # New user account!
message = f"{Emojis.new} {message}"