Merge pull request #12 from tech-fever/main

哪吒机器人新版本特性更新
This commit is contained in:
naiba 2022-07-03 16:03:13 +08:00 committed by GitHub
commit c8fa4e2302
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 47 additions and 4 deletions

View File

@ -9,5 +9,28 @@
开源Telegram机器人项目可以基于API实时查询哪吒面板的服务器信息。
- [x] 支持中/英多语言切换
- [x] 支持分组统计(CPU磁盘内存上下行速度流量统计等)
- [x] 支持分组统计(CPU磁盘内存上下行速度流量统计等)
- [x] 支持实时刷新单个服务器数据
- [x] 支持键盘互动查询
- [x] 支持命令直接查询
- [x] 增加群聊判断,限制群聊可发送命令
- [x] 增加群聊内5秒自动删除信息
- [x] 支持docker部署
## 命令列表
| 命令 | 功能 | 仅私聊 |
| --- | --- | --- |
| start | 开始使用键盘主菜单 | ✔️ |
| help | 帮助列表 | ❌ |
| add | 添加面板链接和token | ✔️ |
| url | 添加面板链接 | ✔️ |
| token | 添加面板token | ✔️ |
| info | 获取保存的面板链接和token | ✔️ |
| delete | 删除保存的面板链接和token | ✔️ |
| id | 命令后面添加整数id来进行单个服务器信息查询私聊带刷新按钮群聊不带 | ❌ |
| all | 查询所有服务器的统计信息 | ❌ |
| search | 在服务器名字中搜索关键字(支持多个,用空格分开) | ❌ |
## 效果展示
![image](https://user-images.githubusercontent.com/105153585/175813727-bef77a8e-ff46-4fd4-b41b-43902abf6159.png#pic_left)
![image](https://user-images.githubusercontent.com/105153585/175813645-4df4f4c7-2591-4133-9645-21c7db2f62ab.png#pic_right)

View File

@ -6,8 +6,28 @@ GitHub project: [nezha_telegram_bot](https://github.com/tech-fever/nezha_telegra
## Features
Open source Telegram bot project that can query the server information of the Nezha Monitoring in real time based on the API.
- [x] Support Chinese/English multi-language switch
- [x] Support tag statistics (CPU, disk, memory, upstream and downstream speed, data transfer statistics, etc.)
- [x] Support tag statistics (CPU, disk, memory, upstream and downstream speed, traffic statistics, etc.)
- [x] Support real-time refresh of single server data
- [x] Support keyboard interactive query
- [x] Support query by command
- [x] Support adding bot to group, privacy protection of bot replies in group chat
- [x] Support bot messages automatic deletion in group chat within 20 seconds
- [x] Support docker deployment
## Commands list
Command | Description | Private chat only
--- | --- | ---
start | Getting started with the keyboard main menu | ✔️
help | help message | ❌
add | Add Nezha monitoring url link and token | ✔️
url | Add Nezha monitoring url link | ✔️
token | Add Nezha monitoring token | ✔️
info | Get saved Nezha monitoring url link and token | ✔️
delete | Delete saved Nezha monitoring url link and token | ✔️
id | Add an integer id after the command to query the information of a single server (refresh button only available in private chat) | ❌
all | Query statistics for all servers | ❌
search | Search for keywords in server names (multiple keywords supported, split by spaces) | ❌