Skip to content

Commit

Permalink
fix: 修复 onebot 推送渠道无法解析 CQ 码的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
CaoMeiYouRen committed Jul 26, 2024
1 parent c421a48 commit ee2c613
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion .husky/commit-msg
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

npx --no-install commitlint --edit "$1"
1 change: 0 additions & 1 deletion .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

npx --no-install lint-staged
2 changes: 1 addition & 1 deletion src/push/one-bot.ts
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ export class OneBot implements Send {
Authorization: `Bearer ${this.ONE_BOT_ACCESS_TOKEN}`,
},
data: {
auto_escape: true,
auto_escape: false,
message_type: msgType,
message,
group_id: msgType === 'group' ? recieverId : '',
Expand Down

0 comments on commit ee2c613

Please sign in to comment.