This commit is contained in:
Aevann1 2021-12-02 23:01:31 +02:00
parent ac38191f74
commit c9e7a0bf2b

View file

@ -131,7 +131,7 @@ def send_admin(vid, text):
def NOTIFY_USERS(text, vid):
text = text.lower()
notify_users = set()
for word, id in NOTIFIED_USERS:
for word, id in NOTIFIED_USERS.items():
if id == 0: continue
if word in text and id not in notify_users and vid != id: notify_users.add(id)
return notify_users