1
0
Fork 0
This repository has been archived on 2024-02-17. You can view files and clone it, but cannot push or open issues or pull requests.
TelegramEDT/main.py
2019-12-28 02:23:30 +01:00

11 lines
254 B
Python

import asyncio
from aiogram.utils import executor
from TelegramEDT import dp
from TelegramEDT.loop import main
loop = asyncio.get_event_loop()
loop.create_task(main())
loop.create_task(executor.start_polling(dp, skip_updates=True))
loop.run_forever()