PagerMaid-Pyro/pagermaid/services/_bot.py
xtaodada a941308d17
Some checks failed
Docker Dev Build / docker build and publish (push) Failing after 13s
Docker Build / docker build and publish (push) Failing after 11s
🔖 Update to v1.5.0
这是一项破坏性变更,目录结构进行了重组,无核心功能变化
2024-09-28 22:01:40 +08:00

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",
)