koishi-plugin-memesluna 0.5.6 → 0.5.7
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 +5 -5
- package/package.json +1 -1
package/lib/index.js
CHANGED
|
@@ -1506,11 +1506,11 @@ ${endpointLines.join("\n")}`);
|
|
|
1506
1506
|
${collectionLines.join("\n")}`);
|
|
1507
1507
|
}
|
|
1508
1508
|
if (synonymGroups && synonymGroups.length > 0) {
|
|
1509
|
-
const
|
|
1510
|
-
if (
|
|
1511
|
-
sections.push(
|
|
1512
|
-
|
|
1513
|
-
|
|
1509
|
+
const groupLines = synonymGroups.filter((g) => g.length > 0).map((g) => ` ${g.join(" / ")}`);
|
|
1510
|
+
if (groupLines.length > 0) {
|
|
1511
|
+
sections.push(`【情绪/标签】(每行为同一组,组内任意词均可作为路由)
|
|
1512
|
+
${groupLines.join("\n")}
|
|
1513
|
+
标签路由格式:${backendPath}/标签名`);
|
|
1514
1514
|
}
|
|
1515
1515
|
}
|
|
1516
1516
|
return sections.join("\n\n");
|
package/package.json
CHANGED