Update ban rules, holidays and report formatting
This commit is contained in:
+1
-1
@@ -82,7 +82,7 @@ LIB = types.InlineKeyboardButton("📚 Книги", url="https://telegra.ph/what
|
||||
SPAM = {"me.sv/", "tg.sv/", "goo.by/", "go.sv/", "intim.video/", "uclck.ru/", 'раб0т',
|
||||
'0плат', 'Жду в ЛС', 'новый способ заработка', 'криптовалют', 'цифровых валют', 'кpuпт',
|
||||
'Binance', 'ByBit', 'Помогу заработать', 'подробнее в лс', 'арбитраж', 'напиши в личку',
|
||||
'DEX бирж', 'пишите в ЛС'}
|
||||
'DEX бирж', 'пишите в ЛС', 'Писать в ЛИЧКУ!'}
|
||||
NON_GRATA = {"дудар", "хауди", "dudar"}
|
||||
BAN_WORDS = {"GREEN"}
|
||||
|
||||
|
||||
+1
-1
@@ -31,7 +31,7 @@ def create_report_text(chat_id):
|
||||
if user.last_name
|
||||
else user.first_name
|
||||
)
|
||||
top_users += f'{i + 1}. {name} [<code>{flooder["Count"]}</code>]'
|
||||
top_users += f'\n{i + 1}. {name} [<code>{flooder["Count"]}</code>]'
|
||||
|
||||
if len(flooders) >= 3 or s["Banned"] or s["Deleted"]:
|
||||
report = f"Hello, World!\n"
|
||||
|
||||
Reference in New Issue
Block a user