V2Board Telegram Bot via Python
972
一个简单的项目,让 V2Board Telegram Bot 支持更丰富的功能。 使用反馈、功能定制可加群:https://t.me/dyPythonBot
Python 版本需求 >= 3.9
| 指令 | 参数 | 描述 |
|---|---|---|
| ping | 无 | 获取聊天的ID |
| bind | 订阅 | 绑定该订阅到Telegram |
| unbind | 无 | 解绑该TG的Telegram |
| mysub | 无 | 获取该账号的订阅链接 |
| myinfo | 无 | 获取该账号的订阅信息 |
| myinvite | 无 | 获取该账号的邀请信息 |
# apt install git 如果你没有git的话
git clone https://github.com/DyAxy/V2Board_Telegram_Bot.git
# 进程常驻可参考 screen 或 nohup 或 systemctl
# 你需要安装好 pip3 的包管理
cd V2Board_Telegram_Bot
pip3 install -r requirements.txt
cp config.yml.example config.yml
nano config.yml
# 根据注释中的内容修改配置
python3 bot.py
/newbot,并为你的bot起一个响亮的名字v2board_bot123456789:gaefadklwdqojdoiqwjdiwqdoContent type
Image
Digest
sha256:4629feb30…
Size
74 MB
Last updated
over 2 years ago
docker pull moefaq/v2board-telegram-bot