This commit is contained in:
2026-03-03 22:27:11 +03:00
parent 4783735308
commit 69995cf099
5 changed files with 91 additions and 12 deletions
@@ -0,0 +1,10 @@
from aiogram import Bot
from aiogram.types import BotCommand, BotCommandScopeDefault
async def set_bot_commands(bot: Bot):
commands = [
BotCommand(command="start", description="🏠 Начало работы"),
]
await bot.set_my_commands(commands, scope=BotCommandScopeDefault())