From 9199411339a4375c2fcd4f72c2032670b36b0cb7 Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Tue, 21 Dec 2021 09:59:24 +0200 Subject: [PATCH] fds --- files/routes/awards.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/files/routes/awards.py b/files/routes/awards.py index 11f5f91d0f..24dee9cddf 100644 --- a/files/routes/awards.py +++ b/files/routes/awards.py @@ -241,6 +241,7 @@ def award_post(pid, v): link = f"[this post]({post.permalink})" send_repeatable_notification(author.id, f"Your account has been suspended permanently for {link}. You must [provide the admins](/contact) a timestamped picture of you touching grass to get unbanned!") send_repeatable_notification(CARP_ID, f"@{v.username} used {kind} award on [{post.shortlink}]({post.shortlink})") + send_repeatable_notification(DAD_ID, f"@{v.username} used {kind} award on [{post.shortlink}]({post.shortlink})") elif kind == "pin": if post.stickied and post.stickied.startswith("t:"): t = int(post.stickied[2:]) + 3600 else: t = int(time.time()) + 3600 @@ -413,6 +414,7 @@ def award_comment(cid, v): link = f"[this comment]({c.permalink})" send_repeatable_notification(author.id, f"Your account has been suspended permanently for {link}. You must [provide the admins](/contact) a timestamped picture of you touching grass to get unbanned!") send_repeatable_notification(CARP_ID, f"@{v.username} used {kind} award on [{c.shortlink}]({c.shortlink})") + send_repeatable_notification(DAD_ID, f"@{v.username} used {kind} award on [{c.shortlink}]({c.shortlink})") elif kind == "pin": if c.is_pinned and c.is_pinned.startswith("t:"): t = int(c.is_pinned[2:]) + 3600 else: t = int(time.time()) + 3600