Skip to content

Commit

Permalink
🐛 Fix: 修复 QQ 私聊按钮消息类型错误 (#148)
Browse files Browse the repository at this point in the history
  • Loading branch information
yanyongyu authored Jan 30, 2025
1 parent 86385c8 commit 3fbf7ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nonebot/adapters/qq/bot.py
Original file line number Diff line number Diff line change
Expand Up @@ -387,7 +387,7 @@ async def send_to_c2c(
msg_type = 4
elif kwargs.get("ark"):
msg_type = 3
elif kwargs.get("markdown"):
elif kwargs.get("markdown") or kwargs.get("keyboard"):
msg_type = 2
elif (
message["image"]
Expand Down

0 comments on commit 3fbf7ae

Please sign in to comment.