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

11 lines
234 B
Python
Raw Normal View History

import asyncio
from aiogram.utils import executor
2019-12-26 13:05:45 +01:00
from TelegramEDT.notif import notif, dp
loop = asyncio.get_event_loop()
loop.create_task(notif())
loop.create_task(executor.start_polling(dp, skip_updates=True))
loop.run_forever()