@hieuzest/koishi-plugin-riichi-city 0.5.5 → 0.5.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/index.js +2 -1
- package/package.json +4 -1
package/lib/index.js
CHANGED
|
@@ -49,6 +49,7 @@ var import_api2 = require("./api");
|
|
|
49
49
|
|
|
50
50
|
// src/dhs.ts
|
|
51
51
|
var import_koishi = require("koishi");
|
|
52
|
+
var import_koishi_utils = require("@hieuzest/koishi-utils");
|
|
52
53
|
var import_lobby = require("./lobby");
|
|
53
54
|
var RiichiCityDHS = class extends import_koishi.Service {
|
|
54
55
|
constructor(ctx, config) {
|
|
@@ -241,7 +242,7 @@ ${config.extraHelp}`.trim();
|
|
|
241
242
|
if (!contestId) return;
|
|
242
243
|
if (!this.checkPermission(session)) return;
|
|
243
244
|
args = import_koishi.h.unescape(args);
|
|
244
|
-
const argsList =
|
|
245
|
+
const argsList = (0, import_koishi_utils.splitBackslashEscapedArgs)(args);
|
|
245
246
|
const players = [];
|
|
246
247
|
const c = await this.getDHS(contestId);
|
|
247
248
|
if (!c) return "大会室未找到";
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hieuzest/koishi-plugin-riichi-city",
|
|
3
3
|
"description": "",
|
|
4
|
-
"version": "0.5.
|
|
4
|
+
"version": "0.5.6",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"typings": "lib/index.d.ts",
|
|
7
7
|
"files": [
|
|
@@ -26,6 +26,9 @@
|
|
|
26
26
|
"peerDependencies": {
|
|
27
27
|
"koishi": "^4.17.8"
|
|
28
28
|
},
|
|
29
|
+
"dependencies": {
|
|
30
|
+
"@hieuzest/koishi-utils": "^1.0.0"
|
|
31
|
+
},
|
|
29
32
|
"koishi": {
|
|
30
33
|
"service": {
|
|
31
34
|
"implements": [
|