Sorabot Implemention
Project description
## ⚠ 警告
本项目尚处于快速开发阶段,配置文件可能会经常变动,在更新版本前请务必做好数据的备份!
📖 介绍
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' |
🎉 使用
请参考Sorabot的文档,或输入 #help 指令来查看。
特别感谢
Project details
Release history Release notifications | RSS feed
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
Close
Hashes for nonebot-plugin-orangejuice-0.3.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9b9e7dd6f4193471ebd6f7a95affdbce93c83a8878e4e34a2f8ccaa1c972dbbd |
|
MD5 | b99f5974519a06f508b617547cfc0397 |
|
BLAKE2b-256 | f3f877d5bce47393c3373c204d317fc7670a00f81154029da875db143fe13dd2 |
Close
Hashes for nonebot_plugin_orangejuice-0.3.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 724a4074ad32209131bd0ad52dd3da0bc0d3da6117621cbeaaf6921bfd1361fc |
|
MD5 | 11dbd2e46f72ba20041f8f251f18b7cc |
|
BLAKE2b-256 | 0bcd682e51988c6c0e3456766c3e2fc193e883b05201e352976acec5316a7d03 |