mirror of
https://github.com/KimigaiiWuyi/GenshinUID.git
synced 2025-05-12 06:55:58 +08:00
🐛 修复 red 协议无法发送消息的问题 (#590)
This commit is contained in:
parent
332e2eeea8
commit
bd0aa78bdb
@ -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()
|
||||
|
Loading…
x
Reference in New Issue
Block a user