mirror of
https://github.com/anonymousx97/social-dl.git
synced 2025-02-20 11:13:19 +08:00
What's New: - Sort Plugins into their respective folders. - download, upload, rename commands. - Help Docstrings. - Proper Logging. - rename .exec cmd to .py
21 lines
378 B
Python
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()
|