Add startup handler

This commit is contained in:
BarsTiger
2023-10-07 22:33:26 +03:00
parent cdf83d2be1
commit e25b61a8ea
17 changed files with 79 additions and 1 deletions

7
anymusicbot/common.py Normal file
View File

@@ -0,0 +1,7 @@
from aiogram import Bot, Dispatcher
from .utils.config import config
bot = Bot(token=config.telegram.bot_token)
dp = Dispatcher()
__all__ = ['bot', 'dp', 'config']