2022-04-01 21:02:03 +02:00
|
|
|
from aiogram import types
|
|
|
|
|
|
|
|
|
|
|
|
async def set_default_commands(dp):
|
|
|
|
await dp.bot.set_my_commands(
|
|
|
|
[
|
2022-04-01 21:15:05 +02:00
|
|
|
types.BotCommand("start", "Start bot."),
|
|
|
|
types.BotCommand("help", "Help."),
|
2022-04-01 21:02:03 +02:00
|
|
|
]
|
|
|
|
)
|