Diablo 4 Helltide Event Tracker work with nonebot2
Project description
📖 介绍
添加机器人到群聊中,订阅之后在群里会提醒订阅Boss刷新,地狱狂潮提醒,(还有军团的刷新时间)
💿 安装
使用 nb-cli 安装
在 nonebot2 项目的根目录下打开命令行, 输入以下指令即可安装nb plugin install nonebot-plugin-helltide
使用包管理器安装
在 nonebot2 项目的插件目录下, 打开命令行, 根据你使用的包管理器, 输入相应的安装命令pip
pip install nonebot-plugin-helltide
pdm
pdm add nonebot-plugin-helltide
poetry
poetry add nonebot-plugin-helltide
conda
conda install nonebot-plugin-helltide
打开 nonebot2 项目根目录下的 pyproject.toml
文件, 在 [tool.nonebot]
部分追加写入
plugins = ["nonebot_plugin_helltide"]
⚙️ 配置
在 nonebot2 项目的.env
文件中添加下表中的必填配置
配置项 | 必填 | 默认值 | 说明 |
---|---|---|---|
event_check_interval | 否 | 1 | 每隔1分钟检查一下 |
🎉 使用
指令表
指令 | 权限 | 需要@ | 范围 | 说明 |
---|---|---|---|---|
d4 | 群员 | 是 | 群聊 | 查询 Diablo4 事件信息 |
d4订阅 | 群员 | 是 | 群聊 | 订阅 Diablo4 定时消息提醒 |
d4取消订阅 | 群员 | 是 | 群聊 | 取消订阅 Diablo4 定时消息提醒 |
d4查询订阅 | 群员 | 是 | 群聊 | 查询当前订阅 Diablo4 定时消息提醒的用户 |
d4帮助 | 群员 | 是 | 群聊 | 显示帮助信息 |
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
Built Distribution
Close
Hashes for nonebot_plugin_helltide-0.1.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e4fc785045d000924d9102e59a614dce2994e2c6bbdd02c97246fa25f9f5aa8f |
|
MD5 | a20fa444720d85e89c04e96d60008a20 |
|
BLAKE2b-256 | 9421c919d8667e16e66cefb343a208475fe09c1d6548c804bcfead08359879e3 |
Close
Hashes for nonebot_plugin_helltide-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5f2ed36866b7f7a37648cc64a8844d7e6105cabe254b95d3f053969ccf0542dd |
|
MD5 | f0adbcb52e2955e748cb7e063db55e0c |
|
BLAKE2b-256 | 1cd09a31063fa1e3327f7b098180002fbc871c6a966423484bdf7da888007186 |