📖 介绍
这是一个基于JSON文件的 nonebot2 本地机厅管理人数上报插件
💿 安装
使用 nb-cli 安装
在 nonebot2 项目的根目录下打开命令行, 输入以下指令即可安装nb plugin install nonebot-plugin-jtj
使用包管理器安装
在 nonebot2 项目的插件目录下, 打开命令行, 根据你使用的包管理器, 输入相应的安装命令pip
pip install nonebot-plugin-jtj
pdm
pdm add nonebot-plugin-jtj
poetry
poetry add nonebot-plugin-jtj
conda
conda install nonebot-plugin-jtj
打开 nonebot2 项目根目录下的 pyproject.toml 文件, 在 [tool.nonebot] 部分追加写入
plugins = ["nonebot_plugin_jtj"]
🎉 使用
指令表
| 指令 | 权限 | 说明 |
|---|---|---|
| 地区列表 | 群员 | |
| 绑定机厅<地区> | 群员 | |
| 查询简称<名称><地区> | 群员 | |
| 添加机厅<名称><地区><简称> | 群员 | |
| 删除机厅<名称><地区> | 群员 | |
| 添加简称<名称><地区><简称> | 群员 | |
| 删除简称<名称><地区><简称> | 群员 | |
| 随个机厅/去哪勤/勤哪/qn | 群员 | |
| 机厅几/jtj/JTJ | 群员 | |
| <简称>几/j/J | 群员 | |
| <简称>数字/+-数字 | 群员 | |
| 解绑机厅 | 群员 | |
| 重置人数 | 主人、群管 | 清零本群机厅人数 |
| 重置机厅 | 主人 | 清零所有机厅人数 |
| 更新机厅 | 主人 | 手动同步机厅变更 |
效果图
Metadata
Release files for nonebot-plugin-jtj 0.2.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| nonebot_plugin_jtj-0.2.1.tar.gz | 9.7 kB | Without provenance | Details for nonebot_plugin_jtj-0.2.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| nonebot_plugin_jtj-0.2.1-py3-none-any.whl | Python 3 | none | any | Details for nonebot_plugin_jtj-0.2.1-py3-none-any.whl |
Total release size: 18.7 kB
Release files / nonebot_plugin_jtj-0.2.1.tar.gz
| Download URL | nonebot_plugin_jtj-0.2.1.tar.gz |
|---|---|
| Size | 9.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
20475237fa1ae320540e669aa07dc4acedb07bb6a5f5e774142adeb41441cb98
|
|
BLAKE2b-256 checksum How to use checksums |
6bbbd1a4b4093514d252dfd25da30facfc5d9b4fec0f16cd7d15eb5b8ad15649
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.7
|
Release files / nonebot_plugin_jtj-0.2.1-py3-none-any.whl
| Download URL | nonebot_plugin_jtj-0.2.1-py3-none-any.whl |
|---|---|
| Size | 9.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ee856d538f9f7e27bb6d902a3ecaa385031b881c88ab3ebfa8c179ea2b6e2d6d
|
|
BLAKE2b-256 checksum How to use checksums |
403b547b70d8dde87adf475f5b58aa57646f4f35f1f92cec8ffb244d519367c4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.7
|
Security for nonebot-plugin-jtj 0.2.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.