koishi-plugin-ccb-plus 0.1.7-beta → 0.1.8
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 +6 -6
- package/package.json +1 -1
package/lib/index.js
CHANGED
|
@@ -312,7 +312,7 @@ function apply(ctx, config) {
|
|
|
312
312
|
return message;
|
|
313
313
|
}
|
|
314
314
|
__name(createNewCCBRecord, "createNewCCBRecord");
|
|
315
|
-
ctx.command("ccb [target:user]", "和群友赛博sex的插件PLUS"
|
|
315
|
+
ctx.command("ccb [target:user]", "和群友赛博sex的插件PLUS").action(async ({ session }, target) => {
|
|
316
316
|
const checkResult = checkGroupCommand(session);
|
|
317
317
|
if (checkResult) {
|
|
318
318
|
return checkResult;
|
|
@@ -386,7 +386,7 @@ function apply(ctx, config) {
|
|
|
386
386
|
}
|
|
387
387
|
return message;
|
|
388
388
|
});
|
|
389
|
-
ctx.command("ccbtop", "按次数排行"
|
|
389
|
+
ctx.command("ccbtop", "按次数排行").action(async ({ session }) => {
|
|
390
390
|
const checkResult = checkGroupCommand(session);
|
|
391
391
|
if (checkResult) {
|
|
392
392
|
return checkResult;
|
|
@@ -407,7 +407,7 @@ function apply(ctx, config) {
|
|
|
407
407
|
}
|
|
408
408
|
return msg.trim();
|
|
409
409
|
});
|
|
410
|
-
ctx.command("ccbvol", "按注入量排行"
|
|
410
|
+
ctx.command("ccbvol", "按注入量排行").action(async ({ session }) => {
|
|
411
411
|
const checkResult = checkGroupCommand(session);
|
|
412
412
|
if (checkResult) {
|
|
413
413
|
return checkResult;
|
|
@@ -428,7 +428,7 @@ function apply(ctx, config) {
|
|
|
428
428
|
}
|
|
429
429
|
return msg.trim();
|
|
430
430
|
});
|
|
431
|
-
ctx.command("ccbmax", "按max值排行并输出产生者"
|
|
431
|
+
ctx.command("ccbmax", "按max值排行并输出产生者").action(async ({ session }) => {
|
|
432
432
|
const checkResult = checkGroupCommand(session);
|
|
433
433
|
if (checkResult) {
|
|
434
434
|
return checkResult;
|
|
@@ -505,7 +505,7 @@ function apply(ctx, config) {
|
|
|
505
505
|
}
|
|
506
506
|
return msg.trim();
|
|
507
507
|
});
|
|
508
|
-
ctx.command("ccbinfo [target:user]", "查询某人ccb信息:第一次对他ccb的人,被ccb的总次数,注入总量"
|
|
508
|
+
ctx.command("ccbinfo [target:user]", "查询某人ccb信息:第一次对他ccb的人,被ccb的总次数,注入总量").action(async ({ session }, target) => {
|
|
509
509
|
const checkResult = checkGroupCommand(session);
|
|
510
510
|
if (checkResult) {
|
|
511
511
|
return checkResult;
|
|
@@ -594,7 +594,7 @@ function apply(ctx, config) {
|
|
|
594
594
|
].join("\n");
|
|
595
595
|
return msg;
|
|
596
596
|
});
|
|
597
|
-
ctx.command("xnn", "XNN榜 - 计算群中最xnn特质的群友"
|
|
597
|
+
ctx.command("xnn", "XNN榜 - 计算群中最xnn特质的群友").action(async ({ session }) => {
|
|
598
598
|
const checkResult = checkGroupCommand(session);
|
|
599
599
|
if (checkResult) {
|
|
600
600
|
return checkResult;
|