forked from VJBots/VJ-Post-Search-Bot
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathclient.py
More file actions
20 lines (18 loc) · 645 Bytes
/
client.py
File metadata and controls
20 lines (18 loc) · 645 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# Don't Remove Credit Tg - @VJ_Botz
# Subscribe YouTube Channel For Amazing Bot https://youtube.com/@Tech_VJ
# Ask Doubt on telegram @KingVJ01
from info import *
from pyrogram import Client
class Bot(Client):
def __init__(self):
super().__init__(
"vj-post-search-bot",
api_id=API_ID,
api_hash=API_HASH,
bot_token=BOT_TOKEN,
plugins={"root": "plugins"})
async def start(self):
await super().start()
print("Bot Started 🔧 Powered By @VJ_Botz")
async def stop(self, *args):
await super().stop()