mirror of
https://github.com/TeamPGM/PagerMaid-Pyro.git
synced 2024-11-25 15:42:21 +00:00
17 lines
365 B
Python
17 lines
365 B
Python
|
import pyromod.listen
|
||
|
from pyrogram import Client
|
||
|
|
||
|
from pagermaid.config import Config
|
||
|
from pagermaid.version import pgm_version
|
||
|
|
||
|
bot = Client(
|
||
|
"pagermaid",
|
||
|
session_string=Config.STRING_SESSION,
|
||
|
api_id=Config.API_ID,
|
||
|
api_hash=Config.API_HASH,
|
||
|
ipv6=Config.IPV6,
|
||
|
proxy=Config.PROXY,
|
||
|
app_version=f"PGP {pgm_version}",
|
||
|
workdir="data",
|
||
|
)
|