From 1d39d6bd3fecaef95390099928411819706b3725 Mon Sep 17 00:00:00 2001 From: Aevann Date: Mon, 22 Jul 2024 18:57:59 +0300 Subject: [PATCH] dont give me !jannies notifs on WPD --- files/helpers/alerts.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/files/helpers/alerts.py b/files/helpers/alerts.py index 470df75b9..857d917aa 100644 --- a/files/helpers/alerts.py +++ b/files/helpers/alerts.py @@ -215,6 +215,8 @@ def NOTIFY_USERS(text, v, oldtext=None, ghost=False, obj=None, followers_ping=Tr elif i.group(1) == 'jannies': group = None member_ids = set(x[0] for x in g.db.query(User.id).filter(User.admin_level > 0)) + if SITE == 'watchpeopledie.tv': + member_ids -= AEVANN_ID elif i.group(1) == 'holejannies': if not get_obj_hole(obj): abort(403, "!holejannies can only be used inside holes!")