From 69480ac2c5f6daa7fbcf2a4fa1238f97ad0ff4c1 Mon Sep 17 00:00:00 2001 From: Aevann Date: Sat, 18 Feb 2023 19:09:16 +0200 Subject: [PATCH] temp code cuz im lazy --- files/helpers/alerts.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/files/helpers/alerts.py b/files/helpers/alerts.py index a004cf47e..54cb646ee 100644 --- a/files/helpers/alerts.py +++ b/files/helpers/alerts.py @@ -120,9 +120,10 @@ def NOTIFY_USERS(text, v): notify_users.add(id) if '!biofoids' in text and SITE == 'rdrama.net': - if v.id not in BIOFOIDS: - abort(403, "Only members of the ping group can ping it!") - notify_users.update(BIOFOIDS) + if v.id != AEVANN_ID: + if v.id not in BIOFOIDS: + abort(403, "Only members of the ping group can ping it!") + notify_users.update(BIOFOIDS) names = set(m.group(2) for m in mention_regex.finditer(text)) for user in get_users(names, graceful=True):