Files
plain-ub-overfork/app/__init__.py
thedragonsinn d9093fef35 New:
Kang.py
  send_ message/document in convo, multiple responses support, switch to asyncio.Future and use object instead of dict, cleaned up filters code for convo.
  init_task support in plugin loader.
2023-12-08 13:39:35 +05:30

20 lines
374 B
Python

import os
from dotenv import load_dotenv
load_dotenv("config.env")
from app.config import Config # NOQA
from app.core import LOGGER # NOQA
from app.core.db import DB # NOQA
from app.core import Message # NOQA
from app.core.client.client import BOT # NOQA
if "com.termux" not in os.environ.get("PATH", ""):
import uvloop
uvloop.install()
bot: BOT = BOT()