🐛 修复在新版adapter.qq中, 无法发送消息的问题

This commit is contained in:
KimigaiiWuyi 2023-10-20 00:56:34 +08:00
parent 5d793c65c4
commit d96060cd26

View File

@ -481,7 +481,7 @@ async def guild_send(
if target_type == 'group': if target_type == 'group':
await bot.call_api( await bot.call_api(
'post_messages', 'post_messages',
channel_id=int(target_id) if target_id else 0, channel_id=str(target_id) if target_id else 0,
**result, **result,
) )
else: else: