From d96060cd26d5be9659296fb6fb4e7e008b2f9d89 Mon Sep 17 00:00:00 2001 From: KimigaiiWuyi <444835641@qq.com> Date: Fri, 20 Oct 2023 00:56:34 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20=E4=BF=AE=E5=A4=8D=E5=9C=A8?= =?UTF-8?q?=E6=96=B0=E7=89=88`adapter.qq`=E4=B8=AD,=20=E6=97=A0=E6=B3=95?= =?UTF-8?q?=E5=8F=91=E9=80=81=E6=B6=88=E6=81=AF=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- GenshinUID/client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GenshinUID/client.py b/GenshinUID/client.py index 75476d1c..75499e17 100644 --- a/GenshinUID/client.py +++ b/GenshinUID/client.py @@ -481,7 +481,7 @@ async def guild_send( if target_type == 'group': await bot.call_api( 'post_messages', - channel_id=int(target_id) if target_id else 0, + channel_id=str(target_id) if target_id else 0, **result, ) else: