Add ban words
This commit is contained in:
+6
-4
@@ -79,10 +79,12 @@ FAQ = types.InlineKeyboardButton(
|
|||||||
)
|
)
|
||||||
LIB = types.InlineKeyboardButton("📚 Книги", url="https://telegra.ph/what-to-read-10-06")
|
LIB = types.InlineKeyboardButton("📚 Книги", url="https://telegra.ph/what-to-read-10-06")
|
||||||
|
|
||||||
SPAM = ["me.sv/", "tg.sv/", "goo.by/", "go.sv/", "intim.video/", "uclck.ru/", 'раб0т',
|
SPAM = {"me.sv/", "tg.sv/", "goo.by/", "go.sv/", "intim.video/", "uclck.ru/", 'раб0т',
|
||||||
'0плат', 'Жду в ЛС!', 'новый способ заработка', 'криптовалют', 'цифровых валют', 'кpuпт', ]
|
'0плат', 'Жду в ЛС', 'новый способ заработка', 'криптовалют', 'цифровых валют', 'кpuпт',
|
||||||
NON_GRATA = ["дудар", "хауди", "dudar"]
|
'Binance', 'ByBit', 'Помогу заработать', 'подробнее в лс', 'арбитраж', 'напиши в личку',
|
||||||
BAN_WORDS = ["GREEN"]
|
'DEX бирж', 'пишите в ЛС'}
|
||||||
|
NON_GRATA = {"дудар", "хауди", "dudar"}
|
||||||
|
BAN_WORDS = {"GREEN"}
|
||||||
|
|
||||||
ZEN = [
|
ZEN = [
|
||||||
"Beautiful is better than ugly.",
|
"Beautiful is better than ugly.",
|
||||||
|
|||||||
+1
-1
@@ -36,7 +36,7 @@ def create_report_text(chat_id):
|
|||||||
if len(flooders) >= 3 or s["Banned"] or s["Deleted"]:
|
if len(flooders) >= 3 or s["Banned"] or s["Deleted"]:
|
||||||
report = f"Hello, World!\n"
|
report = f"Hello, World!\n"
|
||||||
if len(flooders) >= 3:
|
if len(flooders) >= 3:
|
||||||
report += f"\n{top_users}\n"
|
report += f"{top_users}\n"
|
||||||
if s["Banned"] or s["Deleted"]:
|
if s["Banned"] or s["Deleted"]:
|
||||||
report += f"""
|
report += f"""
|
||||||
<b>Удалено</b>
|
<b>Удалено</b>
|
||||||
|
|||||||
Reference in New Issue
Block a user