- Implemented the initial version of the web interface. refactor: Begin Telegram bot refactoring - Started restructuring the bot’s code for better maintainability. chore: Migrate to Flask project structure - Reorganized the application to follow Flask's project structure. cleanup: Extensive code cleanup - Removed redundant code and improved readability. Signed-off-by: UdoChudo <stream@udochudo.ru>
12 lines
358 B
Python
12 lines
358 B
Python
# app/bot/keyboards/main_menu.py
|
|
from telebot.types import ReplyKeyboardMarkup, KeyboardButton
|
|
|
|
def get_main_menu():
|
|
markup = ReplyKeyboardMarkup(resize_keyboard=True)
|
|
markup.add(
|
|
KeyboardButton("Настройки"),
|
|
KeyboardButton("Активные проблемы"),
|
|
KeyboardButton("Помощь")
|
|
)
|
|
return markup
|