expense-bot/handlers/users/help.py

14 lines
384 B
Python
Raw Normal View History

2022-04-01 21:02:03 +02:00
from aiogram import types
from aiogram.dispatcher.filters.builtin import CommandHelp
from loader import dp
@dp.message_handler(CommandHelp())
async def bot_help(message: types.Message):
text = ("Список команд: ",
"/start - Начать диалог",
"/help - Получить справку")
await message.answer("\n".join(text))