koishi-plugin-echo-cave 1.1.0 → 1.1.1

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.cjs +1 -1
  2. package/package.json +1 -1
package/lib/index.cjs CHANGED
@@ -100,7 +100,7 @@ async function getCave(ctx, session) {
100
100
  if (caves.length === 0) {
101
101
  return '\u{1F680} \u56DE\u58F0\u6D1E\u4E2D\u6682\u65E0\u6D88\u606F\uFF0C\u5FEB\u4F7F\u7528 "cave.echo" \u547D\u4EE4\u6DFB\u52A0\u7B2C\u4E00\u6761\u6D88\u606F\u5427\uFF01';
102
102
  }
103
- return caves[Math.floor(Math.random() * caves.length)].content;
103
+ return import_koishi.h.parse(caves[Math.floor(Math.random() * caves.length)].content);
104
104
  }
105
105
  async function addCave(ctx, session) {
106
106
  if (!session.guildId) {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "koishi-plugin-echo-cave",
3
3
  "description": "Group echo cave",
4
- "version": "1.1.0",
4
+ "version": "1.1.1",
5
5
  "main": "lib/index.cjs",
6
6
  "typings": "lib/index.d.ts",
7
7
  "type": "module",