Files
h1686bot/bot/handlers/initialize/initializer.py
2025-01-02 22:19:43 +02:00

10 lines
187 B
Python

from aiogram import Bot, Router
from rich import print
router = Router()
@router.startup()
async def startup(bot: Bot):
print(f"[green]Started as[/] @{(await bot.me()).username}")