diff --git a/app/bot.py b/app/bot.py index 7f7bb24..8ed82d1 100644 --- a/app/bot.py +++ b/app/bot.py @@ -33,7 +33,7 @@ zen_rows = ['Beautiful is better than ugly.', 'Explicit is better than implicit. def wait_for_readers(action, chat_id, msg_id): - """ Show message "User banned" until limited time, then delete. """ + """ Delete message after limited time. """ sleep(60) action(chat_id, msg_id) @@ -55,7 +55,7 @@ def moderate_messages(message: types.Message): @bot.message_handler(commands=['rules']) def send_lutz_command(message): - """ Send link to the Chat Rules. """ + """ Send Chat Rules link. """ bot.send_message(message.chat.id, '🟡 Правила чата', parse_mode='HTML', @@ -66,7 +66,7 @@ def send_lutz_command(message): @bot.message_handler(commands=['faq']) def send_lutz_command(message): - """ Send link to the Chat FAQ. """ + """ Send Chat FAQ link. """ bot.send_message(message.chat.id, '🔵 FAQ', parse_mode='HTML', @@ -90,7 +90,7 @@ def send_lutz_command(message): @bot.message_handler(commands=['lib', 'library', 'book', 'books']) def send_lutz_command(message): - """ Send link to the Chat's Library. """ + """ Send Chat's Library link. """ bot.send_message(message.chat.id, '📚 Библиотека питониста', parse_mode='HTML', @@ -171,7 +171,7 @@ def check_unwanted_list(message_text: types.Message) -> bool: @bot.message_handler(func=check_unwanted_list, content_types=['text']) def unwanted_mentions(message: types.Message): """ Reply to unwanted mentions. """ - bot.reply_to(message, f'☢ У нас таких не любят! 🤮', parse_mode='HTML') + bot.reply_to(message, f'У нас таких не любят! 🥴', parse_mode='HTML') @app.route(f"/bot{TOKEN}/", methods=['POST'])