koishi-plugin-cocoyyy-console 1.0.14-beta.1 → 1.0.14-beta.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.
Files changed (2) hide show
  1. package/lib/index.js +3 -2
  2. package/package.json +1 -1
package/lib/index.js CHANGED
@@ -1263,9 +1263,10 @@ ${list.map((item) => (0, import_koishi8.h)("at", { id: item })).join(",")}`;
1263
1263
  if (!exec.result)
1264
1264
  return `${target_uid}不在当前群聊中`;
1265
1265
  }
1266
- if (ctx.bots[session.uid]) {
1266
+ if (ctx.bots[target_uid]) {
1267
1267
  logger.info(`[rbqinstead] botId: ${session.uid}, sourceId: ${source_uid}, targetId: ${target_uid}`);
1268
- return `已替换rbq:${(0, import_koishi8.h)("at", { id: source_uid })} -> ${(0, import_koishi8.h)("at", { id: target_uid })}`;
1268
+ return `还想让我变rbq?进去吧你,已替换rbq:
1269
+ ${(0, import_koishi8.h)("at", { id: source_uid })} -> ${(0, import_koishi8.h)("at", { id: target_uid })}`;
1269
1270
  }
1270
1271
  exec = await instead_person(session.guildId, source_uid, target_uid);
1271
1272
  if (!exec.result)
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "koishi-plugin-cocoyyy-console",
3
3
  "description": "自用koishi插件,功能包含复读,记录黑历史,*人等",
4
- "version": "1.0.14-beta.1",
4
+ "version": "1.0.14-beta.2",
5
5
  "main": "lib/index.js",
6
6
  "typings": "lib/index.d.ts",
7
7
  "contributors": [