mirror of
https://github.com/koloideal/DutyLog.git
synced 2026-06-10 10:25:29 +03:00
update
This commit is contained in:
@@ -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())
|
||||
Reference in New Issue
Block a user