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.
- package/lib/index.js +3 -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[
|
|
1266
|
+
if (ctx.bots[target_uid]) {
|
|
1267
1267
|
logger.info(`[rbqinstead] botId: ${session.uid}, sourceId: ${source_uid}, targetId: ${target_uid}`);
|
|
1268
|
-
return
|
|
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)
|