No project description provided
Project description
📖 介绍
三角洲助手插件,目前主要是验证打通了登录流程,有登录和自动播报战绩功能,后续功能待开发
欢迎提建议和issue
💿 安装
使用 nb-cli 安装(目前还未发布到插件市场)
在 nonebot2 项目的根目录下打开命令行, 输入以下指令即可安装nb plugin install nonebot-plugin-delta-helper
使用包管理器安装
在 nonebot2 项目的插件目录下, 打开命令行, 根据你使用的包管理器, 输入相应的安装命令pip
pip install nonebot-plugin-delta-helper
pdm
pdm add nonebot-plugin-delta-helper
poetry
poetry add nonebot-plugin-delta-helper
conda
conda install nonebot-plugin-delta-helper
打开 nonebot2 项目根目录下的 pyproject.toml 文件, 在 [tool.nonebot] 部分追加写入
plugins = ["nonebot_plugin_delta_helper"]
🎉 使用
更新数据模型 使用必看!!!!!
本插件使用了官方推荐的nonebot-plugin-orm插件操作数据库,安装插件或更新插件版本后,在启动机器人前,都需要执行此命令。
nb orm upgrade
手动执行下列命令检查数据库模式是否与模型定义一致。机器人启动前也会自动运行此命令,并在检查失败时阻止启动。
nb orm check
看到没有检测到新的升级操作字样时,表明数据库模型已经成功创建或更新,可以启动机器人
指令表
| 指令 | 参数 | 权限 | 需要@ | 范围 | 说明 |
|---|---|---|---|---|---|
| 三角洲帮助 | 无 | 群员 | 否 | 群聊/私聊 | 查看帮助 |
| 三角洲登录 | 无 | 群员 | 否 | 建议群聊 | 通过扫码登录三角洲账号,如果是在群聊,登录后会自动播报百万撤离或百万战损战绩 |
| 三角洲信息 | 无 | 群员 | 否 | 群聊/私聊 | 查看三角洲基本信息 |
| 三角洲密码 | 无 | 群员 | 否 | 群聊/私聊 | 查看今日密码门密码 |
| 三角洲特勤处 | 无 | 群员 | 否 | 群聊/私聊 | 查看三角洲特勤处制造状态 |
| 三角洲特勤处提醒开启 | 无 | 群员 | 否 | 群聊/私聊 | 开启特勤处提醒功能,制造完成后提醒玩家 |
| 三角洲特勤处提醒关闭 | 无 | 群员 | 否 | 群聊/私聊 | 关闭特勤处提醒功能 |
TODO
- 开发其他功能,想要做成信息卡片的形式(个人信息、战绩之类),但是不了解图片排版和渲染,欢迎提建议和issue、PR
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file nonebot_plugin_delta_helper-0.7.0.tar.gz.
File metadata
- Download URL: nonebot_plugin_delta_helper-0.7.0.tar.gz
- Upload date:
- Size: 18.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9e985870e8e376c1734ce175745eebc06e98a0943680bec296df34fd0c0e7e57
|
|
| MD5 |
fe24d0b5eb1d7ce52278fd1ef9368640
|
|
| BLAKE2b-256 |
f9f6ad4a1971efe1df2a8eed43b335cee283f11951ab50d36d1c0b0b0571cb9a
|
File details
Details for the file nonebot_plugin_delta_helper-0.7.0-py3-none-any.whl.
File metadata
- Download URL: nonebot_plugin_delta_helper-0.7.0-py3-none-any.whl
- Upload date:
- Size: 20.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ab9dbf00b801c861d9589288e74c074e5ddef59c34d3e598d6d697bf1e88af64
|
|
| MD5 |
733f2651527e94f9dd2bd35af620e9c7
|
|
| BLAKE2b-256 |
dfc475e9eca1190630afd4743217f4883dcc8c57d4ea7bfbcce454e147ac620b
|