先去botfather获取bot token,然后在vps内使用一下命令安装bot
git clone https://github.com/RenaLio/SubinfoChecker
apt-get upgrade -y 
apt install -y python3 python3-pip 
pip3 install -r requirements.txt
yum update -y
yun install -y python3 python3-pip
pip3 install -r requirements.txt
直接使用Python命令调用Bot即可
python3 bot.py -t 123456:xxxxxxxx
123456:xxxxxxxxxxx为bot token
建议使用screen、systemd、PM2等工具将Bot挂在后台运行。
- 
Systemed
bash install.sh查看状态
systemctl status subbot查看日志
journalctl -u subbot启动
systemctl start subbot停止
systemctl stop subbot重启
systemctl restart subbot杀死所有子进程
systemctl kill subbot 
推荐个人使用,直接发送
订阅链接就可以返回结果
/subinfo URL
subinfo的主要代码来源自telegram-PGM模块