This repository has been archived on 2024-08-21. You can view files and clone it, but cannot push or open issues or pull requests.
BWTAqua/modules/app.py

7 lines
241 B
Python

#-*- coding: utf-8 -*-
from pyrogram.client import Client
from functions import jsonLoad
config = jsonLoad("config.json")
app = Client(config["bot_name"], api_id=config["api_id"], api_hash=config["api_hash"], bot_token=config["bot_token"])