We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1c6dac3 commit e341e8dCopy full SHA for e341e8d
1 file changed
main.py
@@ -33,9 +33,9 @@ def on_message(ws, message):
33
"content": "查看私信"
34
}
35
# 发送桌面通知
36
- toast("收到新洛谷的私信", f'{msg["sender"]["name"]}: {msg["content"]}',
+ toast("收到新的洛谷私信", f'{msg["sender"]["name"]}: {msg["content"]}',
37
duration="short",
38
- icon=f'https://cdn.luogu.com.cn/upload/usericon/{msg["sender"]["uid"]}.png',
+ #icon=f'https://cdn.luogu.com.cn/upload/usericon/{msg["sender"]["uid"]}.png',
39
buttons=[button_open, "忽略"],
40
audio={"silent": "true"})
41
print(f'https://cdn.luogu.com.cn/upload/usericon/{msg["sender"]["uid"]}.png')
0 commit comments