expense-bot/handlers/users/help.py

14 lines
384 B
Python

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))