MVP
Some checks failed
continuous-integration/drone Build is failing

This commit is contained in:
2025-07-27 22:17:28 +03:00
commit 5662d8877a
26 changed files with 1390 additions and 0 deletions

View File

@@ -0,0 +1,10 @@
from aiogram import Bot
from aiogram.types import BotCommand
commands = {'/help': 'Помощь по работе с ботом', '/support': 'Получить контакты техподдержки',
'/orders': 'Заказы', '/components': 'Товары', '/start': 'Запуск/перезапуск бота'}
async def set_main_menu(bot: Bot):
await bot.set_my_commands([
BotCommand(command=command, description=description) for command, description in commands.items()])