Metadata-Version: 2.1
Name: nonebot-plugin-mahjong-scoreboard
Version: 0.1.0.post2
Summary: 
Home-page: https://github.com/ssttkkl/nonebot-plugin-mahjong-scoreboard
License: MIT
Author: ssttkkl
Author-email: huang.wen.long@hotmail.com
Requires-Python: >=3.9,<4.0
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Requires-Dist: asyncpg (>=0.26.0,<0.27.0)
Requires-Dist: cachetools (>=5.2.0,<6.0.0)
Requires-Dist: nonebot-adapter-onebot (>=2.1.5,<3.0.0)
Requires-Dist: nonebot-plugin-sqlalchemy (>=0.1.0,<0.2.0)
Requires-Dist: nonebot2 (>=2.0.0rc1,<3.0.0)
Requires-Dist: nonebot_plugin_apscheduler (>=0.2.0,<0.3.0)
Requires-Dist: tzlocal (>=4.2,<5.0)
Project-URL: Repository, https://github.com/ssttkkl/nonebot-plugin-mahjong-scoreboard
Description-Content-Type: text/markdown

日麻寄分器
============

## 配置

### mahjong_scoreboard_database_conn_url

数据库连接URL，必须为postgresql+asyncpg

举例：postgresql+asyncpg://username:password@host:5432/database

## 指令

### 对局

- /新建对局 [四人南|四人东]
- /结算对局 <成绩> [对局<编号>] [@<用户>] [<自风>]
- /撤销结算对局 [对局<编号>] [@<用户>]
- /设置对局PT <PT> [对局<编号>] [@<用户>]
- /删除对局 [对局<编号>]
- /设置对局进度 <进度> [对局<编号>]

### 对局查询

- /查询对局 [<编号>]
- /个人最近对局 [@<用户>]
- /群最近对局
- /个人未完成对局 [@<用户>]
- /群未完成对局
- /导出赛季对局 [<代号>]
- /导出所有对局

### 赛季

- /查询赛季 [<代号>]
- /查询所有赛季
- /新建赛季
- /开启赛季 [<代号>]
- /结束赛季
- /删除赛季 [<代号>]

### 赛季PT

- /设置赛季PT <PT> [@<用户>]
- /查询PT [@<用户>]
- /查询榜单
- /导出榜单

以上命令格式中，以<>包裹的表示一个参数，以[]包裹的表示一个可选项。参数可通过任意顺序提供。

## LICENSE

> MIT License
> 
> Copyright (c) 2022 ssttkkl
> 
> Permission is hereby granted, free of charge, to any person obtaining a copy
> of this software and associated documentation files (the "Software"), to deal
> in the Software without restriction, including without limitation the rights
> to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
> copies of the Software, and to permit persons to whom the Software is
> furnished to do so, subject to the following conditions:
> 
> The above copyright notice and this permission notice shall be included in all
> copies or substantial portions of the Software.
> 
> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
> IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
> FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
> AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
> LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
> OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
> SOFTWARE.
> 
