Skip to main content

NoneBot2 颜值打分插件

Project description

NoneBot-Plugin-Beauty-Rater

✨ NoneBot2 颜值打分插件 ✨

pypi python pdm-managed alc-resolved

📖 介绍

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_keysecret_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

nonebot_plugin_beauty_rater-0.1.1.tar.gz (3.1 MB view hashes)

Uploaded Source

Built Distribution

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page