SakuraFrp管理插件
Project description
NoneBot Plugin eNatFrp
SakuraFrp管理插件
安装方式
优先使用HTTP驱动器,如未配置则使用httpx请求
依赖管理
pip install nonebot-plugin-enatfrp
poetry add nonebot-plugin-enatfrp
pdm add nonebot-plugin-enatfrp
在
bot.py
中添加nonebot.load_plugin("nonebot_plugin_enatfrp")
nb-cli
nb plugin install nonebot-plugin-enatfrp
使用方式
- frp帮助
[index: int]
- 开机
<id: int>
[password: str = ]
- 隧道状态
- 流量│流量历史
[id: int]
[type: week|月|day|日|周|month = day]
- 流量包│流量套餐
<type: invalid|all|可用|不可用|全部|valid = all>
- 我的信息│用户信息
- 公告
<index: int = 0>
- 授权
<id: int> <ip: str>
-计算机列表
配置项
非必要配置项
-
natfrp_api
: natfrp api地址 -
natfrp_token
: natfrp api token -
natfrp_at
: 是否at -
natfrp_reply
: 是否回复 -
natfrp_use_start
: 是否使用nb配置的command_start -
natfrp_use_sep
: 是否使用nb配置的command_sep -
natfrp_cmd_help
:frp帮助
-
natfrp_cmd_powerOn
:开机
-
natfrp_cmd_tunnels
:隧道状态
-
natfrp_cmd_trafficHistory
:流量
流量历史
-
natfrp_cmd_trafficPlans
:流量包
流量套餐
-
natfrp_cmd_userInfo
:我的信息
用户信息
-
natfrp_cmd_announcement
:公告
-
natfrp_cmd_auth
:授权
-
natfrp_cmd_showPCs
:计算机列表
依赖项
- nonebot2 >=2.0.1
- plugin-alconna ^0.35.1
- httpx >=0.20.0,<1.0.0
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file nonebot_plugin_enatfrp-0.1.4.tar.gz
.
File metadata
- Download URL: nonebot_plugin_enatfrp-0.1.4.tar.gz
- Upload date:
- Size: 8.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.7.1 CPython/3.10.12 Linux/6.2.0-1018-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8479330d3f44b84c55dc7ce08a1b51310c5b86724e95991d008ba808a8c1a1a4 |
|
MD5 | fe4a39599757406e7f41fba746164b75 |
|
BLAKE2b-256 | d10095de82152e571d3d7e3f33e8a922bb8d044efdfeabbb1d5015ce7e310218 |
File details
Details for the file nonebot_plugin_enatfrp-0.1.4-py3-none-any.whl
.
File metadata
- Download URL: nonebot_plugin_enatfrp-0.1.4-py3-none-any.whl
- Upload date:
- Size: 9.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.7.1 CPython/3.10.12 Linux/6.2.0-1018-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | af28a5cce029fdee8be4617e3bc1a47a075c3e205fba3d0a485ccd4219bef296 |
|
MD5 | f0f6eb880330e224c3bd4c2e2a50dfec |
|
BLAKE2b-256 | 9ffd301385d28ecde5e94ec74d7cafc16f199e5031065b460fd3e742cafc52cf |