File size: 332 Bytes
5203d08 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | import asyncio
import os
from aiogram import Bot, Dispatcher
from config import BOT_TOKEN, GROUP_ID
from handlers.games import register_handlers
dp = Dispatcher()
register_handlers(dp)
async def main() -> None:
bot = Bot(token=BOT_TOKEN)
await dp.start_polling(bot)
if __name__ == "__main__":
asyncio.run(main())
|