碧蓝航线辅助插件
Project description
因为配置文件问题,pypi上的插件无法正确安装,请等待修理
📖 介绍
本插件为游戏“碧蓝航线”的辅助性插件,目前正在开发中,更多功能敬请期待
本项目所有数据均来自碧蓝航线wiki
💿 安装
使用 nb-cli 安装
在 nonebot2 项目的根目录下打开命令行, 输入以下指令即可安装nb plugin install nonebot-plugin-azurlane-assistant
使用包管理器安装
在 nonebot2 项目的插件目录下, 打开命令行, 根据你使用的包管理器, 输入相应的安装命令pip
pip install nonebot-plugin-azurlane-assistant
pdm
pdm add nonebot-plugin-azurlane-assistant
poetry
poetry add nonebot-plugin-azurlane-assistant
conda
conda install nonebot-plugin-azurlane-assistant
打开 nonebot2 项目的 bot.py
文件, 在其中写入
nonebot.load_plugin('nonebot_plugin_azurlane_assistant')
从 github 安装
在 nonebot2 项目的插件目录下, 打开命令行, 输入以下命令克隆此储存库git clone https://github.com/MRSlouzk/nonebot-plugin-azurlane-assistant.git
打开 nonebot2 项目的 bot.py
文件, 在其中写入
nonebot.load_plugin('src.plugins.nonebot_plugin_assistant')
⚙️ 配置
配置项 | 必填 | 默认 | 说明 |
---|---|---|---|
az_proxy | no | false | 是否使用代理(格式:"http://127.0.0.1:7890") |
playwright_on | no | false | 是否启用playwright(若禁用则无法使用舰队模拟器) |
🎉 使用
指令表
前缀 | 参数 | 功能 |
---|---|---|
模拟建造 | 池子类型 次数 | 抽取模拟建造池 |
重樱船名 | 和谐名 | 由和谐名得知其原名以及拼音 |
舰队模拟器 | 舰队代码 模拟器类型 | 由舰队代码获取具体舰队 |
(写的不是很详细,后续会完善)
效果图
暂无
🚧预定计划
基础功能
模拟大建
舰队编码解码器(类似于wiki的舰队模拟器)
井号榜查阅
官方更新推送(TODO)
进阶功能
各种数据的计算(TODO) (参考碧蓝公式合计) wiki链接跳转
🐛 已知问题
1.非windows系统使用建造模拟器会导致截图时出现乱码
解决方案:先用locale -a确认系统内有"zh_CN",然后安装中文字体(centos:yum groupinstall Fonts)
2.启动playwright时报错缺少依赖
解决方案:https://haruka-bot.sk415.icu/faq.html#playwright-%E4%BE%9D%E8%B5%96%E4%B8%8D%E5%85%A8
3.启动时资源文件无法同步
解决方案:大多数是因为连接超时所导致的,推荐使用科学上网,后续会考虑制作镜像
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-azurlane-assistant-0.0.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 08e34cdeac5b545c99952472fac83eacc9204e61ed86d379cd40742937387bf6 |
|
MD5 | 492750bc731aaa6fb6012061fd0b9dbf |
|
BLAKE2b-256 | dbdcb01c9183a1cad0ed7af9b317c57b02a70b7abc13ee688336d9cc098abf81 |
Close
Hashes for nonebot_plugin_azurlane_assistant-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 98e6b2ee34e6a50919fb88a856a7d6ff16f2553e1314d6136e27664e87dded38 |
|
MD5 | f004351212242b606212cb5057b605ba |
|
BLAKE2b-256 | 9e2230e4c13808ca9ae2a0603654d8c526413f4b3ca957bb4fef28206a80ebed |