diff --git a/app/bot.py b/app/bot.py index 7d9afdd..14d4c6f 100644 --- a/app/bot.py +++ b/app/bot.py @@ -18,7 +18,7 @@ app = Flask(__name__) print(">>> LutzBot is running! <<<") -@bot.message_handler(commands=['rules', 'faq']) +@bot.message_handler(commands=['rules']) def send_lutz_command(message): bot.send_message(message.chat.id, '🟑 ΠŸΡ€Π°Π²ΠΈΠ»Π° Ρ‡Π°Ρ‚Π°', @@ -27,6 +27,14 @@ def send_lutz_command(message): ) logging(message) +@bot.message_handler(commands=['faq']) +def send_lutz_command(message): + bot.send_message(message.chat.id, + 'πŸ”΅ FAQ', + parse_mode='HTML', + disable_notification=True, + ) + logging(message) @bot.message_handler(commands=['lutz']) def send_lutz_command(message): @@ -43,11 +51,9 @@ def send_lutz_command(message): @bot.message_handler(commands=['lib', 'library', 'book', 'books']) def send_lutz_command(message): bot.send_message(message.chat.id, - 'πŸ“š Π‘ΠΈΠ±Π»ΠΈΠΎΡ‚Π΅ΠΊΠ° питониста\n' - 'Бписок Ρ€Π΅ΠΊΠΎΠΌΠ΅Π½Π΄ΡƒΠ΅ΠΌΠΎΠΉ Ρ‡Π°Ρ‚ΠΎΠΌ Π»ΠΈΡ‚Π΅Ρ€Π°Ρ‚ΡƒΡ€Ρ‹.', + 'πŸ“š Π‘ΠΈΠ±Π»ΠΈΠΎΡ‚Π΅ΠΊΠ° питониста', parse_mode='HTML', disable_notification=True, - disable_web_page_preview=True, ) logging(message)