add library menu

This commit is contained in:
Rykov7
2022-10-07 03:36:30 +03:00
parent a55a575b4f
commit 3ce0bb85b3
+12
View File
@@ -40,6 +40,18 @@ def send_lutz_command(message):
logging(message) logging(message)
@bot.message_handler(commands=['lib', 'library', 'book', 'books'])
def send_lutz_command(message):
bot.send_message(message.chat.id,
'📚 <b><u><a href="https://telegra.ph/what-to-read-10-06">Библиотека питониста</a></u></b>\n'
'Список рекомендуемой чатом литературы.',
parse_mode='HTML',
disable_notification=True,
disable_web_page_preview=True,
)
logging(message)
@bot.message_handler(commands=['start']) @bot.message_handler(commands=['start'])
def send_start_notify_admin(message): def send_start_notify_admin(message):
bot.send_message( bot.send_message(