Delete __init__.py
This commit is contained in:
parent
bfe51f1c27
commit
3dfdce5046
@ -1,20 +0,0 @@
|
|||||||
from .config import (SESSION_NAME, API_ID, API_HASH,
|
|
||||||
BOT_TOKEN, APP_PLUGINS)
|
|
||||||
from pyrogram import Client
|
|
||||||
|
|
||||||
|
|
||||||
class App(Client):
|
|
||||||
def __init__(self):
|
|
||||||
super().__init__(
|
|
||||||
session_name=SESSION_NAME,
|
|
||||||
api_id=API_ID,
|
|
||||||
api_hash=API_HASH,
|
|
||||||
bot_token=BOT_TOKEN,
|
|
||||||
plugins=dict(root=APP_PLUGINS)
|
|
||||||
)
|
|
||||||
|
|
||||||
def start(self, *args):
|
|
||||||
super().start()
|
|
||||||
|
|
||||||
def stop(self, *args):
|
|
||||||
super().stop()
|
|
Reference in New Issue
Block a user