From 624e11c7013519f4668c0282c4477f00139993bf Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Mon, 15 Jan 2024 09:12:00 +0000 Subject: [PATCH 1/4] chore(master): release 1.0.14 --- CHANGELOG.md | 7 +++++++ package-lock.json | 4 ++-- package.json | 2 +- 3 files changed, 10 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c2ddd05..c159a8b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +## [1.0.14](https://github.com/lc-cn/qq-group-bot/compare/v1.0.13...v1.0.14) (2024-01-15) + + +### Bug Fixes + +* 被动回复失败 ([7273ed8](https://github.com/lc-cn/qq-group-bot/commit/7273ed83cd63b552b23029d86a413728c1f235c3)) + ## [1.0.13](https://github.com/lc-cn/qq-group-bot/compare/v1.0.12...v1.0.13) (2024-01-15) diff --git a/package-lock.json b/package-lock.json index 76fd54f..06db8f6 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "qq-group-bot", - "version": "1.0.13", + "version": "1.0.14", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "qq-group-bot", - "version": "1.0.13", + "version": "1.0.14", "license": "MIT", "dependencies": { "axios": "^1.6.1", diff --git a/package.json b/package.json index e24d1ef..520e41c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "qq-group-bot", - "version": "1.0.13", + "version": "1.0.14", "description": "qq机器人开发SDK", "main": "lib/index.js", "scripts": { From 0fe0831284176eb4a4ac22b12569f9056e885c36 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=F0=9F=8C=8C?= Date: Mon, 15 Jan 2024 18:51:16 +0800 Subject: [PATCH 2/4] fix: replyAction --- src/bot.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bot.ts b/src/bot.ts index a721c6f..d4113ae 100644 --- a/src/bot.ts +++ b/src/bot.ts @@ -635,7 +635,7 @@ export class Bot extends QQBot { * @param code {number} */ async replyAction(action_id: string,code:ActionNoticeEvent.ReplyCode=0) { - const result = await this.request.put(`/interactions/${action_id}?code=${code}`) + const result = await this.request.put(`/interactions/${action_id}`, { code }) return result.status === 200 } From d57357c1abd8232be1a2398aaa71c6638262a99f Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Mon, 15 Jan 2024 11:23:27 +0000 Subject: [PATCH 3/4] chore(master): release 1.0.15 --- CHANGELOG.md | 7 +++++++ package-lock.json | 4 ++-- package.json | 2 +- 3 files changed, 10 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c159a8b..d5469dc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +## [1.0.15](https://github.com/lc-cn/qq-group-bot/compare/v1.0.14...v1.0.15) (2024-01-15) + + +### Bug Fixes + +* replyAction ([0fe0831](https://github.com/lc-cn/qq-group-bot/commit/0fe0831284176eb4a4ac22b12569f9056e885c36)) + ## [1.0.14](https://github.com/lc-cn/qq-group-bot/compare/v1.0.13...v1.0.14) (2024-01-15) diff --git a/package-lock.json b/package-lock.json index 06db8f6..475ddbd 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "qq-group-bot", - "version": "1.0.14", + "version": "1.0.15", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "qq-group-bot", - "version": "1.0.14", + "version": "1.0.15", "license": "MIT", "dependencies": { "axios": "^1.6.1", diff --git a/package.json b/package.json index 520e41c..6fa57e1 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "qq-group-bot", - "version": "1.0.14", + "version": "1.0.15", "description": "qq机器人开发SDK", "main": "lib/index.js", "scripts": { From 75c88040335e67338d56cb900f8ff92ca307bbca Mon Sep 17 00:00:00 2001 From: lc-cn <1659488338@qq.com> Date: Tue, 16 Jan 2024 17:29:46 +0800 Subject: [PATCH 4/4] Create FUNDING.yml --- .github/FUNDING.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 .github/FUNDING.yml diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml new file mode 100644 index 0000000..a67544b --- /dev/null +++ b/.github/FUNDING.yml @@ -0,0 +1,14 @@ +# These are supported funding model platforms + +github: # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2] +patreon: # Replace with a single Patreon username +open_collective: # Replace with a single Open Collective username +ko_fi: # Replace with a single Ko-fi username +tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel +community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry +liberapay: # Replace with a single Liberapay username +issuehunt: # Replace with a single IssueHunt username +otechie: # Replace with a single Otechie username +lfx_crowdfunding: # Replace with a single LFX Crowdfunding project-name e.g., cloud-foundry +custom: + - https://afdian.net/a/lc-cn