Skip to content

MizusawaMatsuri/nonebot-plugin-orangejuice

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 指令来查看。

特别感谢

About

The Nonebot Impl of 100OrangeJuice Sorabot

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%