Skip to main content

Sorabot Implemention

Project description

NoneBotPluginLogo

NoneBotPluginText

# nonebot-plugin-orangejuice

Sorabot的Nonebot实现✨

license pypi python

⚠ 警告

本项目尚处于快速开发阶段,配置文件可能会经常变动,在更新版本前请务必做好数据的备份!

📖 介绍

Sorabot的Nonebot实现,提供 100% Orange Juice 的卡面查询、组卡器查询、战绩统计、表情短码与相关的娱乐功能。

💿 安装

使用 nb-cli 安装 在 nonebot2 项目的根目录下打开命令行, 输入以下指令即可安装
nb plugin install nonebot-plugin-orangejuice
使用包管理器安装 在 nonebot2 项目的插件目录下, 打开命令行, 根据你使用的包管理器, 输入相应的安装命令
pip
pip install nonebot-plugin-orangejuice
pdm
pdm add nonebot-plugin-orangejuice
poetry
poetry add nonebot-plugin-orangejuice
conda
conda install nonebot-plugin-orangejuice

打开 nonebot2 项目根目录下的 pyproject.toml 文件, 在 [tool.nonebot] 部分追加写入

plugins = ["nonebot_plugin_orangejuice"]

🎉 .env 配置

配置项 说明 默认值
OJ_DATA_PATH 储存插件用户信息与配置文件的目录 'data/100oj'
MATCH_SCORE 查卡与查图标时模糊匹配的最低分数 80

🎉 使用

请参考Sorabot的文档,或输入 #help 指令来查看。

特别感谢

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_orangejuice-0.11.0.tar.gz (18.8 kB view hashes)

Uploaded Source

Built Distribution

nonebot_plugin_orangejuice-0.11.0-py3-none-any.whl (21.3 kB view hashes)

Uploaded Python 3

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