🐛 修复 red 协议无法发送消息的问题 (#590)

This commit is contained in:
qianxu 2023-10-11 20:15:55 +08:00 committed by GitHub
parent 332e2eeea8
commit bd0aa78bdb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -407,7 +407,7 @@ async def onebot_red_send(
assert isinstance(bot, Bot)
chat_type = 'group' if target_type == 'group' else 'friend'
chat_type = 2 if target_type == 'group' else 1
async def _send(content: Optional[str], image: Optional[str]):
result_msg: Message = Message()