@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.
- package/lib/index.js +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
|
+
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}
|
|
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
|
},
|