WPD daisy filter

remotes/1693045480750635534/spooky-22
Aevann1 2022-08-18 11:52:37 +02:00
parent 96f39afb11
commit 905e8ae351
2 changed files with 6 additions and 0 deletions

View File

@ -97,6 +97,10 @@ def NOTIFY_USERS(text, v):
user = get_user(i.group(2), graceful=True)
if user and v.id != user.id and not v.any_block_exists(user): notify_users.add(user.id)
if SITE_NAME == "WPD" and 'daisy' in text.lower():
admin_ids = [x[0] for x in g.db.query(User.id).filter(User.admin_level > 0).all()]
notify_users.update(admin_ids)
return notify_users - bots
if PUSHER_ID != 'blahblahblah':

View File

@ -116,6 +116,8 @@ elif SITE_NAME == 'WPD':
"gook": "superior IQ Asian",
"kike": "jewish chad",
"daisy's destruction": "Cars 2",
"daisys destruction": "Cars 2",
"daisy destruction": "Cars 2",
}
else:
SLURS = {