koishi-plugin-starfx-bot 0.13.2 → 0.13.3
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 -2
- package/package.json +1 -1
- package/readme.md +1 -0
package/lib/index.js
CHANGED
|
@@ -502,13 +502,13 @@ function apply(ctx, cfg) {
|
|
|
502
502
|
if (cfg.openLock) {
|
|
503
503
|
ctx.command("封印 [param]").action(async ({ session }, param) => {
|
|
504
504
|
if (detectControl(controlJson, session.guildId, "lock"))
|
|
505
|
-
|
|
505
|
+
await session.send(await drawLock(ctx, await getImageSrc(session, param)));
|
|
506
506
|
});
|
|
507
507
|
}
|
|
508
508
|
if (cfg.openSold) {
|
|
509
509
|
ctx.command("卖掉了 [param]").action(async ({ session }, param) => {
|
|
510
510
|
if (detectControl(controlJson, session.guildId, "sold"))
|
|
511
|
-
|
|
511
|
+
await session.send(await drawSold(ctx, await getImageSrc(session, param)));
|
|
512
512
|
});
|
|
513
513
|
}
|
|
514
514
|
if (cfg.roll) {
|
package/package.json
CHANGED
package/readme.md
CHANGED