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 22:23:02 +02:00
|
|
|
types.BotCommand("start", "Launch bot."),
|
|
|
|
types.BotCommand("help", "Commands list, little help."),
|
|
|
|
types.BotCommand("add", "Add expense."),
|
|
|
|
types.BotCommand("edit", "Edit expense."),
|
|
|
|
types.BotCommand("list", "See my expenses."),
|
|
|
|
types.BotCommand("settings", "Configure bot."),
|
2022-04-03 12:49:14 +02:00
|
|
|
types.BotCommand("test", "Test command."),
|
2022-04-01 22:23:02 +02:00
|
|
|
# types.BotCommand("settings3", "Configure bot."),
|
2022-04-01 21:02:03 +02:00
|
|
|
]
|
|
|
|
)
|