channel-block-tg/utils/set_bot_commands.py
2021-05-03 20:09:09 +03:00

11 lines
265 B
Python

from aiogram import types
async def set_default_commands(dp):
await dp.bot.set_my_commands(
[
types.BotCommand("start", "Запустить бота"),
types.BotCommand("help", "Вывести справку"),
]
)