A nonebot2 plugin for Blue Archive Tarot.
Project description
📖 介绍
一个可以进行测运势,占卜的碧蓝档案塔罗牌nonebot2插件
目前暂时共有4个功能:ba塔罗牌,ba运势,ba占卜和ba塔罗牌解读
自己推的国内仓库,无需担心从github下载图片的一次次报错和网络加载失败问题
有任何问题可以直接提issue或者发email到qq邮箱,我会尽快解决喵,如果愿意提供一些更优美的运势预测句子更好喵。
💿 安装
建议使用包管理器(nb plugin install nonebot_plugin_batarot)直接安装
如果使用gitclone安装的话,请将文件下载到site——package文件夹下,
然后打开 nonebot2 项目根目录下的 pyproject.toml
文件,在 [tool.nonebot]
部分的 plugins
项里追加写入nonebot_plugin_babattleline即可
使用包管理器安装
在 nonebot2 项目的插件目录下, 打开命令行, 根据你使用的包管理器, 输入相应的安装命令pip
pip install nonebot_plugin_batarot
pdm
pdm add nonebot_plugin_batarot
poetry
poetry add nonebot_plugin_batarot
conda
conda install nonebot_plugin_batarot
打开 nonebot2 项目根目录下的 pyproject.toml
文件, 在 [tool.nonebot]
部分的 plugins
项里追加写入
[tool.nonebot]
plugins = [
# ...
"nonebot_plugin_batarot"
]
⚙️ 配置
无需配置,开箱即用。
🎉 使用
现有指令列表:
ba塔罗牌:随机发送一张ba塔罗牌以及正逆位含义
ba占卜:以合并转发的方式发送一个牌阵进行占卜
ba运势:随机发送一张ba塔罗牌以及对应的运势分数和对应的运势评价
ba塔罗牌解读:发送一张ba塔罗牌以及塔罗牌原画师的解读,支持如:ba塔罗牌解读 21 或 ba塔罗牌解读 世界的命令,实现指定塔罗牌解读。
📞 制作者
黑纸折扇 [Perseus037] (https://github.com/Perseus037)
QQ:1209228678
🙏 感谢
shi0n_krbn(twitter@shi0n_krbn)提供的超好看ba塔罗牌和专业的解读
CedarLullaby(https://space.bilibili.com/2910913) 提供的翻译
饼干 [student_2333] (https://github.com/lgc2333) 对于我学习编写插件和配置qqbot,等过程中的无私帮助
KafCoppelia (https://github.com/KafCoppelia) 提供的思路借鉴(直接开抄)
📝 更新日志
0.2.0
- 修复塔罗牌图片在pc端老版本qq上无法显示的问题
- 使用塔罗牌原图,提高了图像的清晰度
0.1.0 - 0.1.0.post4
- 修复各种bug
- 重构代码,对原有代码进行模块化拆分便于维护
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
Hashes for nonebot_plugin_batarot-0.2.0.post1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e8022fd685b0e07b9f3a59d5c0ab58ee1120afb170d89afb2a212716a9d8d0bc |
|
MD5 | 7f10297c8198d812dc5b7b4196827f0c |
|
BLAKE2b-256 | ff41c0f1f9afc2cbcdaaa61d533de44f1d44a156826e7632b95d2916d73985f2 |
Hashes for nonebot_plugin_batarot-0.2.0.post1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 99cd8fec1989a1775a5fa42bdc61e7b7fbff0a3be23dba2e3110833e76ec853f |
|
MD5 | 0358ce20cb9824e2acaf03dcef6e762d |
|
BLAKE2b-256 | 525e798a874b871e6443892bb8f726f7af848d5718e3e33cd3f33852afc24a71 |