NoneBot2 颜值打分插件
Project description
📖 介绍
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 |
🎉 使用
[!note] 请注意你的
COMMAND_START
以及上述配置项。
插件本体
/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.
Project details
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_beauty_rater-0.1.3.tar.gz
.
File metadata
- Download URL: nonebot_plugin_beauty_rater-0.1.3.tar.gz
- Upload date:
- Size: 3.1 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.12.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 369b028a17f68603c198289371b8dcc1dec6d47e171ab67022023163ebdd451c |
|
MD5 | 79e44b30b790a207fa813d09bc69b850 |
|
BLAKE2b-256 | 3df773e530e82f7a51fec418f3d982ea9e20bbc4c12abea4bd4ae1bd50ce0795 |
File details
Details for the file nonebot_plugin_beauty_rater-0.1.3-py3-none-any.whl
.
File metadata
- Download URL: nonebot_plugin_beauty_rater-0.1.3-py3-none-any.whl
- Upload date:
- Size: 3.1 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.12.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5c65bc6dd756d89657669a304929cbb0007f38b63c38ffb3fd0ccc390b6b9c66 |
|
MD5 | 04d5d467599feb5a1b920f5792d40304 |
|
BLAKE2b-256 | 8c2ddd13176a8afb1671105448e707ae3732672525e7f1f2779eebdffddcbb1f |