refactoring

This commit is contained in:
Rykov7
2023-01-23 18:58:35 +03:00
parent f30d3e9a07
commit 7b35b5ad97
+1 -5
View File
@@ -26,11 +26,7 @@ def start(message: types.Message):
markup = types.InlineKeyboardMarkup() markup = types.InlineKeyboardMarkup()
markup.add(RULES, FAQ, LIB, row_width=1) markup.add(RULES, FAQ, LIB, row_width=1)
answer = "Начни с прочтения" send_or_reply(message, "Начни с прочтения", reply_markup=markup)
if message.reply_to_message:
bot.reply_to(message.reply_to_message, answer, reply_maarkup=markup)
else:
bot.send_message(message.chat.id, answer, reply_markup=markup)
""" """