From 4e104afdb2f56fe4561affbb2663a66b4a19f4b2 Mon Sep 17 00:00:00 2001 From: bossgeekgo Date: Wed, 21 Feb 2024 09:35:10 +0800 Subject: [PATCH] rename product from bossgeekgo to geekgeekrun --- package.json | 4 ++-- plugin/DingtalkPlugin/index.mjs | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index c0ba295..0729e00 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { - "name": "@bossgeekgo/geek-auto-start-chat-with-boss", + "name": "@geekgeekrun/geek-auto-start-chat-with-boss", "private": true, "version": "1.0.0", "description": "geek-auto-start-chat-with-boss", @@ -8,7 +8,7 @@ "scripts": { "start": "node ./main/index.mjs" }, - "author": "bossgeekgo", + "author": "geekgeekrun", "license": "ISC", "dependencies": { "dayjs": "^1.11.10", diff --git a/plugin/DingtalkPlugin/index.mjs b/plugin/DingtalkPlugin/index.mjs index 13a5bc9..93de48b 100644 --- a/plugin/DingtalkPlugin/index.mjs +++ b/plugin/DingtalkPlugin/index.mjs @@ -14,7 +14,7 @@ export default class DingtalkPlugin { sendQueueTimer = setTimeout(function sendMergedMessage () { if (collectedMessageList.length === 0) { } else if (collectedMessageList.length === 1) { - collectedMessageList[0].dingtalkRequestBody.text.content += `\n${dayjs(collectedMessageList[0].insertedTime).format('MM-DD HH:mm:ss')}\n\n【bossgeekgo】` + collectedMessageList[0].dingtalkRequestBody.text.content += `\n${dayjs(collectedMessageList[0].insertedTime).format('MM-DD HH:mm:ss')}\n\n【geekgeekrun】` requestDingtalkNotify( _this.dingtalkAccessToken, JSON.stringify(collectedMessageList[0].dingtalkRequestBody) ) @@ -23,7 +23,7 @@ export default class DingtalkPlugin { _this.dingtalkAccessToken, JSON.stringify((createTextMessage( collectedMessageList.map(it => { return `${it.dingtalkRequestBody.text.content}\n${dayjs(it.insertedTime).format('MM-DD HH:mm:ss')}\n` - }).join('-----\n') + '\n【bossgeekgo】' + }).join('-----\n') + '\n【geekgeekrun】' )).dingtalkRequestBody) ) }