Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
1.脚本增加查看当前面板设置项(用户名、密码与端口)的选项
![2022-04-17_111321](https://user-images.githubusercontent.com/38254177/163698988-22647562-d428-469a-85e0-dbeec62083ce.png)
![2022-04-17_111705](https://user-images.githubusercontent.com/38254177/163698999-b3e9319f-ae44-4040-9c19-2ce56f0419d8.png)
![2022-04-17_111910](https://user-images.githubusercontent.com/38254177/163699000-65db7d17-42e2-4ae6-a2e8-ecd53713a2f0.png)
2.增加Tg机器人相关功能,包括定时流量通知(包含每个节点)、面板登录提醒,后续可拓展
3.支持面板设置Tg机器人,但是机器人定时通知功能开启依赖于脚本开启。由于我不懂JS,暂时无法实现
效果预览:
定时流量通知
面板登录提醒
Bugs:
1.每一次Tg机器人设置后都需要通过脚本再次开启,是由于设置后每次都执行了updateTgbotEnableSts函数导致还原为默认的false状态,目前没有想到好的办法