koishi-plugin-cocoyyy-console 1.0.14-beta.2 → 1.0.14-beta.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 +3 -3
- package/package.json +1 -1
package/lib/index.js
CHANGED
|
@@ -1263,10 +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
|
-
|
|
1267
|
-
|
|
1266
|
+
logger.info(`[rbqinstead] input_uid: ${session.uid}, sourceId: ${source_uid}, targetId: ${target_uid}, botId: ${session.selfId}`);
|
|
1267
|
+
if (session.selfId == target_uid) {
|
|
1268
1268
|
return `还想让我变rbq?进去吧你,已替换rbq:
|
|
1269
|
-
${(0, import_koishi8.h)("at", { id: source_uid })} -> ${(0, import_koishi8.h)("at", { id:
|
|
1269
|
+
${(0, import_koishi8.h)("at", { id: source_uid })} -> ${(0, import_koishi8.h)("at", { id: session.uid })}`;
|
|
1270
1270
|
}
|
|
1271
1271
|
exec = await instead_person(session.guildId, source_uid, target_uid);
|
|
1272
1272
|
if (!exec.result)
|