init
This commit is contained in:
9
bot/handlers/initialize/initializer.py
Normal file
9
bot/handlers/initialize/initializer.py
Normal file
@@ -0,0 +1,9 @@
|
||||
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}")
|
||||
Reference in New Issue
Block a user