mirror of
https://github.com/KimigaiiWuyi/GenshinUID.git
synced 2025-05-12 06:55:58 +08:00
🐛 修复在新版adapter.qq
中, 无法发送消息的问题
This commit is contained in:
parent
5d793c65c4
commit
d96060cd26
@ -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:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user