init commit

This commit is contained in:
prod-tech
2024-11-17 02:31:42 +03:00
commit cf933c770c
217 changed files with 19340 additions and 0 deletions
+4
View File
@@ -0,0 +1,4 @@
__all__: list[str] = []
# Initialize all handlers
from .handlers import *
+13
View File
@@ -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
)
+3
View File
@@ -0,0 +1,3 @@
import aiogram
base_router = aiogram.Router(name=__package__)