fix(desc): 更新描述文件及一些话术
This commit is contained in:
@@ -6,8 +6,7 @@
|
|||||||
"skills": ["skills/qqbot-cron", "skills/qqbot-media"],
|
"skills": ["skills/qqbot-cron", "skills/qqbot-media"],
|
||||||
"capabilities": {
|
"capabilities": {
|
||||||
"proactiveMessaging": true,
|
"proactiveMessaging": true,
|
||||||
"cronJobs": true,
|
"cronJobs": true
|
||||||
"streamingMessages": true
|
|
||||||
},
|
},
|
||||||
"configSchema": {
|
"configSchema": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
|
|||||||
@@ -1188,11 +1188,7 @@ openclaw cron add \\
|
|||||||
|
|
||||||
// 处理文本中的 URL 点号(防止被 QQ 解析为链接)
|
// 处理文本中的 URL 点号(防止被 QQ 解析为链接)
|
||||||
if (textWithoutImages) {
|
if (textWithoutImages) {
|
||||||
const originalText = textWithoutImages;
|
|
||||||
textWithoutImages = textWithoutImages.replace(/([a-zA-Z0-9])\.([a-zA-Z0-9])/g, "$1_$2");
|
textWithoutImages = textWithoutImages.replace(/([a-zA-Z0-9])\.([a-zA-Z0-9])/g, "$1_$2");
|
||||||
if (textWithoutImages !== originalText && textWithoutImages.trim()) {
|
|
||||||
textWithoutImages += "\n\n(由于平台限制,回复中的部分符号已被替换)";
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
try {
|
try {
|
||||||
|
|||||||
Reference in New Issue
Block a user