koishi-plugin-node-async-bot-all 2.27.0 → 2.27.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.js +2 -2
  2. package/package.json +1 -1
package/lib/index.js CHANGED
@@ -943,7 +943,7 @@ async function getUse(ctx, session, qq, desc) {
943
943
  __name(getUse, "getUse");
944
944
 
945
945
  // package.json
946
- var version = "2.27.0";
946
+ var version = "2.27.1";
947
947
 
948
948
  // src/index.ts
949
949
  var inject = ["database", "installer", "puppeteer", "cron"];
@@ -1046,7 +1046,7 @@ ${import_koishi3.h.image(outMsg.data, "image/png")}`);
1046
1046
  ctx.on("message", async (session) => {
1047
1047
  for (const content of ctx.config.specialMsg) {
1048
1048
  if (session.content === content) {
1049
- await session.bot.createReaction(session.channelId, session.messageId, String(random(2, ctx.config.reactionId)));
1049
+ await session.bot.createReaction(session.channelId, session.messageId, `face|${String(random(2, ctx.config.reactionId))}`);
1050
1050
  }
1051
1051
  }
1052
1052
  });
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "koishi-plugin-node-async-bot-all",
3
3
  "description": "NodeAsync Bot插件(自用)",
4
- "version": "2.27.0",
4
+ "version": "2.27.1",
5
5
  "main": "lib/index.js",
6
6
  "typings": "lib/index.d.ts",
7
7
  "contributors": [