generated from A-kirami/nonebot-plugin-template
-
-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
76 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
# 用来测试访问网址时的代理(默认为空) | ||
PROXY="http://127.0.0.1:7890" | ||
|
||
# 是否只能由SuperUsers触发指令(可空) | ||
PS_ONLY_SU=False | ||
|
||
# 触发指令是否需要@Bot(可空) | ||
PS_NEED_AT=False | ||
|
||
# 使用.env.*中配置的NICKNAME作为图片上的 Bot 昵称(可空) | ||
PS_USE_ENV_NICK=False | ||
|
||
# 分区列表里忽略的盘符(挂载点)(可空) | ||
# 使用正则表达式匹配 | ||
PS_IGNORE_PARTS=[] | ||
|
||
# 忽略获取容量状态失败的磁盘分区(可空) | ||
PS_IGNORE_BAD_PARTS=False | ||
|
||
# 磁盘 IO 统计列表中忽略的磁盘名(可空) | ||
# 使用正则表达式匹配 | ||
PS_IGNORE_DISK_IOS=[] | ||
|
||
# 网速列表中忽略的网络名称(可空) | ||
# 使用正则表达式匹配 | ||
PS_IGNORE_NETS=["^lo$", "^Loopback"] | ||
|
||
# 是否忽略 IO 都为 0B/s 的磁盘(可空) | ||
PS_IGNORE_NO_IO_DISK=False | ||
|
||
# 是否忽略上下行都为 0B/s 的网卡(可空) | ||
PS_IGNORE_0B_NET=False | ||
|
||
# 背景图遮罩颜色(可空) | ||
PS_MASK_COLOR=[255, 255, 255, 125] | ||
|
||
# 各状态矩形背景底色(可空) | ||
PS_BG_COLOR=[255, 255, 255, 150] | ||
|
||
# 背景图高斯模糊半径(可空) | ||
PS_BLUR_RADIUS=4 | ||
|
||
# 自定义字体路径(可空) | ||
# 默认为插件内自带思源黑体,这里填的是 Windows 自带的微软雅黑粗体 | ||
PS_FONT="C:/Windows/Fonts/msjhbd.ttc" | ||
|
||
# 自定义背景图 URL 列表(可空) | ||
# 本地图请使用 file:///文件路径 | ||
PS_CUSTOM_BG=[] | ||
|
||
# 底部脚注文字大小(可空) | ||
PS_FOOTER_SIZE=22 | ||
|
||
# 网卡列表下的测试访问的网址列表(可空) | ||
# name: 显示名称 | ||
# url: 要访问的网址 | ||
# proxy: 是否使用 .env 配置文件中设置的代理来访问 | ||
PS_TEST_SITES=[{"name": "百度", "url": "https://baidu.com"}, {"name": "Google", "url": "https://google.com", "use_proxy": true}] | ||
|
||
# 网址测试访问时的超时时间(秒)(可空) | ||
PS_TEST_TIMEOUT=5 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
__version__ = "0.2.5" | ||
__version__ = "0.3.0" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.