[feat] add settings with some example schema, initialization and run functionality
This commit is contained in:
@@ -1,3 +1,14 @@
|
||||
from aiogram import Router
|
||||
from aiogram import F, Router
|
||||
from aiogram.types import CallbackQuery
|
||||
|
||||
from . import settings
|
||||
|
||||
router = Router()
|
||||
router.include_routers(
|
||||
settings.router,
|
||||
)
|
||||
|
||||
|
||||
@router.callback_query(F.data == "_")
|
||||
async def on_empty(callback: CallbackQuery):
|
||||
await callback.answer()
|
||||
|
||||
Reference in New Issue
Block a user