import asyncio
import logging
from routers import Report_router, Ingridience_router
from aiogram import Bot, Dispatcher, types
from aiogram.filters.command import Command
API = "ТОКЕН"
bot = Bot(token=API)
dp = Dispatcher()
dp.include_routers(Report_router.router, Ingridience_router.router)
@dp.message(Command("start"))
async def start(message:types.Message):
await message.answer("Команда /report запускает ветку отчета"
"команда /ingridience запускает ветку ингридиентов")
await print(message.user.name)
async def main():
await dp.start_polling(bot)
if __name__ == "__main__":
asyncio.run(main())