记住了,谢谢

This commit is contained in:
shenjack 2023-10-15 01:23:07 +08:00
parent c1966e6f55
commit df616d8b53
Signed by: shenjack
GPG Key ID: 7B1134A979775551

View File

@ -175,7 +175,7 @@ def safe_eval(code: str) -> str:
async def add_message(data: Dict[str, Any]): async def add_message(data: Dict[str, Any]):
print(f"{Fore.MAGENTA}add_message: {data}{Style.RESET_ALL}") 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_name = data['message']['username']
sender_id = data['message']['senderId'] sender_id = data['message']['senderId']
content = data['message']['content'] content = data['message']['content']