init commit
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
__all__: list[str] = []
|
||||
|
||||
# Initialize all handlers
|
||||
from .handlers import *
|
||||
@@ -0,0 +1,13 @@
|
||||
import aiogram.filters
|
||||
import aiogram.types
|
||||
|
||||
import app.core.layouts
|
||||
import app.core.prompts
|
||||
from app.routing.base.routers import base_router
|
||||
|
||||
|
||||
@base_router.message(aiogram.filters.Command('start'))
|
||||
async def start(message: aiogram.types.Message) -> None:
|
||||
await message.reply(
|
||||
app.core.prompts.GREETING, reply_markup=app.core.layouts.inline_web_app
|
||||
)
|
||||
@@ -0,0 +1,3 @@
|
||||
import aiogram
|
||||
|
||||
base_router = aiogram.Router(name=__package__)
|
||||
Reference in New Issue
Block a user