This repository has been archived on 2025-06-06. You can view files and clone it, but cannot push or open issues or pull requests.
Starboard/main.py

16 lines
No EOL
269 B
Python

from aiogram import Bot, Dispatcher
import asyncio
import yaml
from bot import bot
from routers import setup_routers
config = yaml.safe_load(open('config.yaml'))
dp = Dispatcher()
setup_routers(dp)
if __name__ == '__main__':
asyncio.run(dp.start_polling(bot))