nonebot-plugin-mai-online-lineup
✨ 舞萌机台线上排卡插件 ✨
License:MIT | Python:支持Nonebot的版本皆可 | Pypi:点击查看
📖 介绍
本插件基于nonebot2编写
用于机厅人数较多却又没有线下排卡板或者认为线下排卡较为繁琐的情况,进行赛博排卡
基于Yzfoil/nonebot_plugin_maimai_go_down_system改编
因为这个repo不支持nb一键安装,所以诞生了这个repo
💿 安装
使用 nb-cli 安装
在 nonebot2 项目的根目录下打开命令行, 输入以下指令即可安装nb plugin install nonebot-plugin-mai-online-lineup
使用包管理器安装
在 nonebot2 项目的插件目录下, 打开命令行, 根据你使用的包管理器, 输入相应的安装命令pip
pip install nonebot-plugin-mai-online-lineup
pdm
pdm add nonebot-plugin-mai-online-lineup
poetry
poetry add nonebot-plugin-mai-online-lineup
conda
conda install nonebot-plugin-mai-online-lineup
打开 nonebot2 项目根目录下的 pyproject.toml 文件, 在 [tool.nonebot] 部分追加写入
plugins = ["nonebot-plugin-mai-online-lineup"]
⚙️ 配置
该插件内置配置功能,即开即用
实在需要手动配置可以看插件底下的data.json
data.json将会在第一次使用时自动填充数据
🎉 使用
指令表
*群管指群主及群管理员
| 指令 | 权限 | 需要@ | 范围 | 说明 |
|---|---|---|---|---|
| 添加群聊 | 群管、主人 | 否 | 群聊 | 添加群聊到json文件,只有管理员能够使用此功能 |
| 添加机厅 | 群员 | 否 | 群聊 | 添加机厅到群聊中,只有管理员能够使用此功能 |
| 机厅列表 | 群员 | 否 | 群聊 | 展示群聊中的机厅列表 |
| 排卡 机厅名称 | 群员 | 否 | 群聊 | 加入某个机厅的排卡队列 |
| 上机 | 群员 | 否 | 群聊 | 将您移至队列的最后一位 |
| 延后 | 群员 | 否 | 群聊 | 将您与后一位互换位置 |
| 排卡现状 机厅名称 | 群员 | 否 | 群聊 | 展示当前机厅排卡队列 |
| 退勤 | 群员 | 否 | 群聊 | 将您从排卡队列移出 |
| 闭店 机厅名称 | 群管、主人 | 否 | 群聊 | 清空当前机厅排卡队列,只有管理员能够使用此功能 |
❤ 鸣谢
Metadata
Release files for nonebot-plugin-mai-online-lineup 1.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| nonebot_plugin_mai_online_lineup-1.0.2.tar.gz | 5.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| nonebot_plugin_mai_online_lineup-1.0.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 10.8 kB
Release files / nonebot_plugin_mai_online_lineup-1.0.2.tar.gz
| Download URL | nonebot_plugin_mai_online_lineup-1.0.2.tar.gz |
|---|---|
| Size | 5.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b68fdd23a46f9b8508e6a1d02840b6a76e8e57c9d5424aa26ce603a90927ec11
|
|
BLAKE2b-256 checksum How to use checksums |
6aadd9bbabae13b50a1fc24abcb2c0710215e774446ab757186aafca2f66f122
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.6.1 CPython/3.11.8 Windows/10
|
Release files / nonebot_plugin_mai_online_lineup-1.0.2-py3-none-any.whl
| Download URL | nonebot_plugin_mai_online_lineup-1.0.2-py3-none-any.whl |
|---|---|
| Size | 5.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
543aaf4703e705e11d098346258df92af0d3a3ad5ad56dd418dc1833c8f9b3ea
|
|
BLAKE2b-256 checksum How to use checksums |
aa322d7e368c8ed20e962a457dda85d91842469076ba96a1b11c01f5f7f71eec
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.6.1 CPython/3.11.8 Windows/10
|