expense-bot/handlers/users/add.py

10 lines
265 B
Python
Raw Normal View History

2022-04-01 22:23:02 +02:00
from aiogram import types
from aiogram.dispatcher.filters.builtin import Command
from loader import dp
@dp.message_handler(commands="add")
async def bot_add(message: types.Message):
await message.answer(f"This is ADD command, {message.from_user.username}!")