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/TelegramEDT/loop.py

18 lines
493 B
Python

from asyncio import sleep
from TelegramEDT import modules_active
from TelegramEDT.edt_notif import notif as edt_notif
from TelegramEDT.kfet import notif as kfet_notif
from TelegramEDT.tomuss import notif as tomuss_notif
async def main():
while True:
if "edt_notif" in modules_active:
await edt_notif()
if "kfet" in modules_active:
await kfet_notif()
if "tomuss" in modules_active:
await tomuss_notif()
await sleep(30)