social-dl/app/__init__.py
anonymousx97 31d19bc48b v2.5.0:Upstream with Private Repo.
What's New:
- Sort Plugins into their respective folders.
- download, upload, rename commands.
- Help Docstrings.
- Proper Logging.
- rename .exec cmd to .py
2024-01-08 16:01:41 +05:30

21 lines
378 B
Python

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