expense-bot/handlers/users/start.py

10 lines
266 B
Python
Raw Normal View History

2022-04-01 21:02:03 +02:00
from aiogram import types
from aiogram.dispatcher.filters.builtin import CommandStart
from loader import dp
@dp.message_handler(CommandStart())
async def bot_start(message: types.Message):
await message.answer(f"Привет, {message.from_user.full_name}!")