init
This commit is contained in:
3
bot/handlers/start/__init__.py
Normal file
3
bot/handlers/start/__init__.py
Normal file
@@ -0,0 +1,3 @@
|
||||
from .start import router
|
||||
|
||||
__all__ = ["router"]
|
||||
9
bot/handlers/start/start.py
Normal file
9
bot/handlers/start/start.py
Normal file
@@ -0,0 +1,9 @@
|
||||
from aiogram import Router, types
|
||||
from aiogram.filters import Command
|
||||
|
||||
router = Router()
|
||||
|
||||
|
||||
@router.message(Command("start"))
|
||||
async def on_start(message: types.Message):
|
||||
await message.reply(text="1686")
|
||||
Reference in New Issue
Block a user