@azimiao/koishi-plugin-cafe-bot-exp 0.0.43 → 0.0.45

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
@@ -40,7 +40,7 @@ module.exports = __toCommonJS(src_exports);
40
40
  var import_url = require("url");
41
41
 
42
42
  // package.json
43
- var version = "0.0.43";
43
+ var version = "0.0.45";
44
44
 
45
45
  // src/index.ts
46
46
  var import_censor = require("@koishijs/censor");
@@ -704,7 +704,7 @@ async function apply2(ctx, config) {
704
704
  {
705
705
  key: "user",
706
706
  values: [
707
- config.disableMDAt || argv.session.isDirect ? "你" : config.useReDefine ? `${config.insertBeforeAt}<qqbot-at-user id="${argv.session.userId}" />` : `${config.insertBeforeAt}<qqbot-at-user id="${argv.session.userId}" />`
707
+ config.disableMDAt || argv.session.isDirect ? "你" : config.useReDefine ? `${config.insertBeforeAt}<@${argv.session.userId}>` : `${config.insertBeforeAt}<qqbot-at-user id="${argv.session.userId}" />`
708
708
  ]
709
709
  // 群聊@,私聊不@
710
710
  },
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@azimiao/koishi-plugin-cafe-bot-exp",
3
3
  "description": "cafe bot experiment",
4
- "version": "0.0.43",
4
+ "version": "0.0.45",
5
5
  "main": "lib/index.js",
6
6
  "typings": "lib/index.d.ts",
7
7
  "repository": {