Skip to main content

No project description provided

Project description

NoneBotPluginLogo

NoneBotPluginText

nonebot-plugin-delta-helper

✨ 三角洲助手插件 ✨

license pypi python

📖 介绍

三角洲助手插件,目前主要是验证打通了登录流程,有登录和自动播报战绩功能,后续功能待开发

欢迎提建议和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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nonebot_plugin_delta_helper-0.1.0.tar.gz (15.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

nonebot_plugin_delta_helper-0.1.0-py3-none-any.whl (17.1 kB view details)

Uploaded Python 3

File details

Details for the file nonebot_plugin_delta_helper-0.1.0.tar.gz.

File metadata

File hashes

Hashes for nonebot_plugin_delta_helper-0.1.0.tar.gz
Algorithm Hash digest
SHA256 dabf42affcf3e33cf622a628b93b11ff8f7231c200cddc099019f33728c2f330
MD5 54cc7b53162fb190750786abc783cbec
BLAKE2b-256 4974c0f4ba55ee3ebb53700220c238257714e110ac75e5f8a4eee0da30059f70

See more details on using hashes here.

File details

Details for the file nonebot_plugin_delta_helper-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for nonebot_plugin_delta_helper-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 aa5868becd64570a87ea72b0706eb4a4166a92ebd88974959917e4f519ba2587
MD5 7c361793a04aae08a7e160dfdf3ca19a
BLAKE2b-256 11650f44af124accfd71a35c2870e03e08c48709e90c039f0f8d16281cd42a18

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page