Update veez.py
This commit is contained in:
parent
bdbb56e0d7
commit
5cba15abf9
@ -1,13 +1,19 @@
|
|||||||
|
from config import API_HASH, API_ID, BOT_TOKEN, SESSION_NAME
|
||||||
from pyrogram import Client
|
from pyrogram import Client
|
||||||
from pytgcalls import PyTgCalls
|
from pytgcalls import PyTgCalls
|
||||||
from config import SESSION_NAME, API_ID, API_HASH, BOT_TOKEN
|
|
||||||
|
|
||||||
bot = Client(
|
bot = Client(
|
||||||
":memory:",
|
":memory:",
|
||||||
API_ID,
|
API_ID,
|
||||||
API_HASH,
|
API_HASH,
|
||||||
bot_token=BOT_TOKEN,
|
bot_token=BOT_TOKEN,
|
||||||
plugins=dict(root="program")
|
plugins={"root": "program"},
|
||||||
)
|
)
|
||||||
user = Client(SESSION_NAME, API_ID, API_HASH)
|
|
||||||
|
user = Client(
|
||||||
|
SESSION_NAME,
|
||||||
|
api_id=API_ID,
|
||||||
|
api_hash=API_HASH,
|
||||||
|
)
|
||||||
|
|
||||||
call_py = PyTgCalls(user)
|
call_py = PyTgCalls(user)
|
||||||
|
Loading…
Reference in New Issue
Block a user