A nonebot2 plugin for Blue Archive Tarot.
Project description
📖 介绍
一个可以进行测运势,魔法占卜与解读的碧蓝档案塔罗牌nonebot2插件
目前暂时有4个功能:ba塔罗牌,ba运势,ba占卜和ba塔罗牌解读,使用详见下方指令
自己推的国内仓库,无需担心从github下载图片的一次次报错和网络加载失败等问题
ps:有任何问题或建议可以直接提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.post1
- 修改了全部的运势描述语句,加入了大量对国内外电影,诗歌,小说中的引用,来让描述变得更优美
- 结合现实生活中的塔罗牌占卜,增加了六个新的占卜牌阵
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.post2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 69fbf034f89ef1fd9066e8ce6adab9f79958548d9aa1942d9fdab9eb1f81fb58 |
|
MD5 | 10760c89ec461184752df03bd4c1661d |
|
BLAKE2b-256 | f8ad866f37c85f39335676e388eed27ad88dbf25f2009f97aad462ccb96f1959 |
Hashes for nonebot_plugin_batarot-0.2.0.post2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5b3b7da8e87e1ed5583261aae165973c0b8ef412a68146d2eb3fe3e39c84b79e |
|
MD5 | fd4290c464821b49188c70a3fd044bde |
|
BLAKE2b-256 | d9f4949b0db4968d901e7738a9bae65cc034489c787dc4273ee589d0d353ed57 |