From df616d8b5365016e30df4d53db99ad42957371ea Mon Sep 17 00:00:00 2001 From: shenjack <3695888@qq.com> Date: Sun, 15 Oct 2023 01:23:07 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AE=B0=E4=BD=8F=E4=BA=86=EF=BC=8C=E8=B0=A2?= =?UTF-8?q?=E8=B0=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- connect.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/connect.py b/connect.py index bd9a407..cd28bbe 100644 --- a/connect.py +++ b/connect.py @@ -175,7 +175,7 @@ def safe_eval(code: str) -> str: async def add_message(data: Dict[str, Any]): print(f"{Fore.MAGENTA}add_message: {data}{Style.RESET_ALL}") - is_self = data['message']['senderId'] == SELF_ID + is_self = data['message']['senderId'] == SELF_ID or data['message']['senderId'] == 2524423915 sender_name = data['message']['username'] sender_id = data['message']['senderId'] content = data['message']['content']