kotori-plugin-penis 1.3.0 → 1.3.1
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 +5 -5
- package/package.json +1 -1
package/lib/index.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @Package kotori-plugin-penis
|
|
3
|
-
* @Version 1.3.
|
|
3
|
+
* @Version 1.3.1
|
|
4
4
|
* @Author Himeno <me@hotaru.icu>
|
|
5
5
|
* @Copyright 2024-2025 Hotaru. All rights reserved.
|
|
6
6
|
* @License GPL-3.0
|
|
7
7
|
* @Link https://github.com/kotorijs/kotori
|
|
8
|
-
* @Date 2026/3/29 14:
|
|
8
|
+
* @Date 2026/3/29 14:23:44
|
|
9
9
|
*/
|
|
10
10
|
"use strict";
|
|
11
11
|
var __defProp = Object.defineProperty;
|
|
@@ -139,7 +139,7 @@ function main(ctx, config2) {
|
|
|
139
139
|
}
|
|
140
140
|
return session.format("newnew.msg.today_ranking", [list]);
|
|
141
141
|
});
|
|
142
|
-
ctx.command("cum [user:string] - \u793E\u4FDD\u4F60\u7684\u7FA4\u53CB").
|
|
142
|
+
ctx.command("cum [user:string] - \u793E\u4FDD\u4F60\u7684\u7FA4\u53CB").shortcut("\u793E\u4FDD").option("C", "cut:boolean \u5BF8\u6B62\u6A21\u5F0F").action(async ({ args, options: { cut } }, session) => {
|
|
143
143
|
const data = loadData();
|
|
144
144
|
const todayStart = getTodayStart();
|
|
145
145
|
const senderId = `${session.api.adapter.identity}${session.userId}`;
|
|
@@ -201,7 +201,7 @@ function main(ctx, config2) {
|
|
|
201
201
|
data[targetFullId] = targetRecord;
|
|
202
202
|
saveData(data);
|
|
203
203
|
});
|
|
204
|
-
ctx.command("cum-check [user:string] - \u67E5\u770B\u793E\u4FDD\u7EDF\u8BA1").
|
|
204
|
+
ctx.command("cum-check [user:string] - \u67E5\u770B\u793E\u4FDD\u7EDF\u8BA1").shortcut("\u793E\u4FDD\u67E5\u8BE2").action(({ args }, session) => {
|
|
205
205
|
const data = loadData();
|
|
206
206
|
const targetId = args[0] ?? session.userId;
|
|
207
207
|
const fullId = `${session.api.adapter.identity}${targetId}`;
|
|
@@ -220,7 +220,7 @@ function main(ctx, config2) {
|
|
|
220
220
|
[import_kotori_bot.Messages.mention(targetId)]
|
|
221
221
|
);
|
|
222
222
|
});
|
|
223
|
-
ctx.command("cum-reset [user:string] - \u91CD\u7F6E\u6B21\u6570").
|
|
223
|
+
ctx.command("cum-reset [user:string] - \u91CD\u7F6E\u6B21\u6570").shortcut("\u793E\u4FDD\u91CD\u7F6E").access(import_kotori_bot.UserAccess.MANGER).action(({ args }, session) => {
|
|
224
224
|
const data = loadData();
|
|
225
225
|
const targetId = args[0] ?? session.userId;
|
|
226
226
|
const fullId = `${session.api.adapter.identity}${targetId}`;
|