本地机厅管理人数上报的 NoneBot 插件
Project description
📖 介绍
这是一个基于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"]
🎉 使用
指令表
指令 | 权限 | 说明 |
---|---|---|
绑定机厅<地区> | 群员 | |
解绑机厅 | 群员 | |
地区列表 | 群员 | |
添加机厅<名称><地区><简称> | 群员 | |
添加简称<名称><地区><简称> | 群员 | |
删除机厅<名称><地区> | 群员 | |
删除简称<名称><地区><简称> | 群员 | |
查询简称<名称><地区> | 群员 | |
机厅几/jtj/JTJ | 群员 | |
<简称>几/j/J | 群员 | |
<简称>数字/+-数字 | 群员 | |
随个机厅/去哪勤/勤哪/qn | 群员 | |
重置人数 | 主人、群管 | 清零本群机厅人数 |
重置机厅 | 主人 | 清零所有机厅人数 |
更新机厅 | 主人 | 手动同步机厅变更 |
效果图
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_jtj-0.1.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a3688bd7c32348f65d2a6ab6e380d6140158fbd9ba38870cc6cee11999a3ebfd |
|
MD5 | 65724ac2537720543f771eb18f8cad04 |
|
BLAKE2b-256 | 57517b24640f25d25bbeb73d1a115e4530d237c4ff2f441055684e9cc2eecf49 |