Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/lc-cn/qq-group-bot
Browse files Browse the repository at this point in the history
  • Loading branch information
lc-cn committed Jan 18, 2024
2 parents 7af8bd7 + 1de9fa0 commit 5eb6fe9
Show file tree
Hide file tree
Showing 5 changed files with 32 additions and 4 deletions.
14 changes: 14 additions & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -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
14 changes: 14 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,19 @@
# 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)


### 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)


Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "qq-group-bot",
"version": "1.0.13",
"version": "1.0.15",
"description": "qq机器人开发SDK",
"main": "lib/index.js",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion src/bot.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down

0 comments on commit 5eb6fe9

Please sign in to comment.