koishi-plugin-echo-cave 1.3.1 → 1.3.2
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.cjs +2 -2
- package/package.json +1 -1
package/lib/index.cjs
CHANGED
|
@@ -146,10 +146,10 @@ function apply(ctx) {
|
|
|
146
146
|
"cave [id:number]",
|
|
147
147
|
"\u968F\u673A\u83B7\u53D6 / \u83B7\u53D6\u7279\u5B9A id \u7684\u56DE\u58F0\u6D1E\u4FE1\u606F"
|
|
148
148
|
).action(async ({ session }, id) => await getCave(ctx, session, id));
|
|
149
|
-
ctx.command("cave
|
|
149
|
+
ctx.command("cave echo", "\u5C06\u6D88\u606F\u5B58\u5165\u56DE\u58F0\u6D1E\u7A74").action(
|
|
150
150
|
async ({ session }) => await addCave(ctx, session)
|
|
151
151
|
);
|
|
152
|
-
ctx.command("cave
|
|
152
|
+
ctx.command("cave wipe <id:number>", "\u62B9\u53BB\u7279\u5B9A id \u7684\u56DE\u58F0\u6D1E\u4FE1\u606F").action(
|
|
153
153
|
async ({ session }, id) => await deleteCave(ctx, session, id)
|
|
154
154
|
);
|
|
155
155
|
}
|