📖 介绍
NoneBot2 颜值打分插件,以及 i18n 支持
💿 安装
pip install nonebot-plugin-beauty-rater
# or, use poetry
poetry add nonebot-plugin-beauty-rater
# or, use pdm
pdm add nonebot-plugin-beauty-rater
打开 NoneBot 项目根目录下的配置文件, 在 [plugin] 部分追加写入
plugins = ["nonebot_plugin_beauty_rater"]
⚙️ 配置
在项目的配置文件中添加下表中的可选配置
api_key和secret_key可以从 这里 获取
| 配置项 | 必填 | 默认值 |
|---|---|---|
| rate__api_key | 是 | 无 |
| rate__secret_key | 是 | 无 |
| rate__timeout | 否 | 30 |
🎉 使用
插件本体
/rate [图片]
指令别名:颜值评分 颜值打分
i18n
展示支持的语言列表
/lang list
切换语言
/lang switch <lang>
效果图
许可证
本项目使用 MIT 许可证开源
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
Metadata
Release files for nonebot-plugin-beauty-rater 0.1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| nonebot_plugin_beauty_rater-0.1.3.tar.gz | 3.1 MB | Without provenance | Details for nonebot_plugin_beauty_rater-0.1.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| nonebot_plugin_beauty_rater-0.1.3-py3-none-any.whl | Python 3 | none | any | Details for nonebot_plugin_beauty_rater-0.1.3-py3-none-any.whl |
Total release size: 6.1 MB
Release files / nonebot_plugin_beauty_rater-0.1.3.tar.gz
| Download URL | nonebot_plugin_beauty_rater-0.1.3.tar.gz |
|---|---|
| Size | 3.1 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
369b028a17f68603c198289371b8dcc1dec6d47e171ab67022023163ebdd451c
|
|
BLAKE2b-256 checksum How to use checksums |
3df773e530e82f7a51fec418f3d982ea9e20bbc4c12abea4bd4ae1bd50ce0795
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.0 CPython/3.12.5
|
Release files / nonebot_plugin_beauty_rater-0.1.3-py3-none-any.whl
| Download URL | nonebot_plugin_beauty_rater-0.1.3-py3-none-any.whl |
|---|---|
| Size | 3.1 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5c65bc6dd756d89657669a304929cbb0007f38b63c38ffb3fd0ccc390b6b9c66
|
|
BLAKE2b-256 checksum How to use checksums |
8c2ddd13176a8afb1671105448e707ae3732672525e7f1f2779eebdffddcbb1f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.0 CPython/3.12.5
|
Security for nonebot-plugin-beauty-rater 0.1.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.