remove temp code

master
Aevann 2023-02-18 19:09:33 +02:00
parent 69480ac2c5
commit 96a85bd140
1 changed files with 3 additions and 4 deletions

View File

@ -120,10 +120,9 @@ def NOTIFY_USERS(text, v):
notify_users.add(id)
if '!biofoids' in text and SITE == 'rdrama.net':
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)
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):