Update spam words.

This commit is contained in:
Rykov7
2023-11-05 20:49:46 +03:00
parent dc5ad477d1
commit 7128ad20ec
2 changed files with 5 additions and 2 deletions
+1 -1
View File
@@ -86,7 +86,7 @@ SPAM = {"me.sv/", "tg.sv/", "goo.by/", "go.sv/", "intim.video/", "uclck.ru/", '
'в неделю выходит до', 'предложить заработок', 'голые фот', '🔞', 'интимные фот', '➡️',
'заработка в крипте', 'Веду набор', 'Идёт набор', 'мне в ЛС', 'Доход от', 'Trading',
'P2P', 'Идет набор', 'в лс', 'нaбop', 'комaндy', 'kpuпт', 'бupж', '💰', 'пишитe',
'по трейдингу'}
'по трейдингу', 'фальшивые рубли', }
NON_GRATA = {"дудар", "хауди", "dudar"}
BAN_WORDS = {"GREEN"}
+4 -1
View File
@@ -1,4 +1,5 @@
import html
import random
import shelve
import os
from .config import DATA, ROLLBACK
@@ -8,6 +9,8 @@ def create_report_text(chat_id):
report = ""
top_users = ""
flooders = []
spammer_icons = ('🐷', '🐒', '🐔')
current_spammer_face = random.choice(spammer_icons)
if os.path.exists(f"{DATA}{chat_id}.db"):
with shelve.open(f"{DATA}{chat_id}", writeback=True) as s:
for user_id in ROLLBACK:
@@ -41,7 +44,7 @@ def create_report_text(chat_id):
if s["Banned"]:
report += f"""
<b> Криптоидов поймано:</b> {s['Banned']}
└ [ {s['Banned']*'🐒'} ]
└ [ {s['Banned']*current_spammer_face} ]
"""
return report
else: