Bot Main Module

Telegram bot dispatcher and bootstrap.

Initializes routers, background tasks, and starts long-polling using aiogram. Reads environment with dotenv and ensures database is initialized.

async bot.main.main()[source]

Start the bot dispatcher and background workers.

  • Ensures database is initialized.

  • Launches background tasks for analyses and completed task delivery.

  • Starts long polling.

Return type:

None

Returns:

None.