koishi-plugin-smmcat-nai-diffusion 0.0.3 → 0.0.4

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.
Files changed (2) hide show
  1. package/lib/index.js +2 -2
  2. package/package.json +1 -1
package/lib/index.js CHANGED
@@ -309,7 +309,7 @@ function apply(ctx, config) {
309
309
  const imgs = await naiDiffusion.getDrawByEntry(prompt);
310
310
  if (!(imgs && imgs.length)) {
311
311
  await Chat.send(session, "生图失败...");
312
- use.start(session);
312
+ use.clear(session);
313
313
  return;
314
314
  }
315
315
  if (config.useMd) {
@@ -350,7 +350,7 @@ ${imgs.map((item) => {
350
350
  });
351
351
  if (!(imgs && imgs.length)) {
352
352
  await Chat.send(session, "生图失败...");
353
- use.start(session);
353
+ use.clear(session);
354
354
  return;
355
355
  }
356
356
  if (config.useMd) {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "koishi-plugin-smmcat-nai-diffusion",
3
3
  "description": "来自 tuercha.com 公益站的绘图服务",
4
- "version": "0.0.3",
4
+ "version": "0.0.4",
5
5
  "main": "lib/index.js",
6
6
  "typings": "lib/index.d.ts",
7
7
  "files": [