Skip to content

OliverGrace/python-telegram-SpeedCentreTestBot

Repository files navigation

python-telegram-SpeedCentreTestBot

This is a subscription manage bot for telegram.

Contributors Forks Stargazers Issues MIT License


Logo

SpeedCentreTestBot

一个简单易用的tg测速组订阅管理bot,集成大量功能!
探索本项目的文档 »

查看Demo · 报告Bug · 提出新特性

集成查看所有机场名,模糊搜索机场对应订阅链接,限定bot可用用户,随机抽取机场订阅,增加机场订阅,快捷clash订阅转换,自动定时删除信息等功能

目录

上手指南

配置要求
  1. python3.x(已测试)
  2. 安装python-telegram-bot模块
安装步骤
  1. 进入cmd或者linux终端安装模块
pip3 install python-telegram-bot
  1. 克隆本项目
git clone https://github.com/OliverGrace/python-telegram-SpeedCentreTestBot.git
  1. 修改main.py中的BOT_TOKEN为自己的TOKEN,并修改myuserid为自己的ID

  2. 启动.py脚本程序并在后台运行

nohup python3 main.py &
  1. 向TelegramBotFather中你的Bot命令编辑发送以下字段:
listname-/listname查看所有机场名  
getlink-/getlink <搜索关键字>查看机场订阅链接  
addaccess-/addaccess <id>增加访问权限  
add-/add <机场名>+空格+<链接>添加订阅  
random-/random+空格+<个数(可选)>随机抽一个机场  
convert-/convert+空格+链接转换成Clash订阅  

文件目录说明

filetree 
├── README.md
├── add.py
├── clash_sub_converter.py
├── get_link.py
├── listname.py
├── main.py
├── sub.txt
├── sub_found.txt
└── access.txt

使用到的模块

贡献者

OliverGrace

如何参与开源项目

贡献使开源社区成为一个学习、激励和创造的绝佳场所。你所作的任何贡献都是非常感谢的。

  1. Fork 当前项目
  2. 创造自己的 Branch (git checkout -b feature/AmazingFeature)
  3. Commit 你的更改 (git commit -m 'Add some AmazingFeature')
  4. Push 到 Branch (git push origin feature/AmazingFeature)
  5. 打开一个 Pull Request

版本控制

该项目使用Git进行版本管理。您可以在repository参看当前可用版本。

作者

Author:OliverGrace
E-Mail:[email protected]

您也可以在贡献者名单中参看所有参与该项目的开发者。

版权说明

该项目签署了MIT授权许可,详情请参阅 LICENSE.txt

About

This is a subscription manage bot for telegram.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages