update
This commit is contained in:
parent
679e73bfb2
commit
61e2cc76fd
@ -124,13 +124,11 @@ class MyHandler(FileSystemEventHandler):
|
||||
room.state_changed = False
|
||||
|
||||
if room.state == 1:
|
||||
msg = f"{
|
||||
room.db_room.liver_name} 开锅了!\nhttps://live.bilibili.com/{room.room_id}"
|
||||
msg = f"{room.db_room.liver_name} 开锅了!\nhttps://live.bilibili.com/{room.room_id}"
|
||||
requests.post("http://turntf:18846/notify", json={"msg": msg})
|
||||
|
||||
elif room.state == 2:
|
||||
msg = f"{
|
||||
room.db_room.liver_name} 下锅了!\nhttps://live.bilibili.com/{room.room_id}"
|
||||
msg = f"{room.db_room.liver_name} 下锅了!\nhttps://live.bilibili.com/{room.room_id}"
|
||||
requests.post("http://turntf:18846/notify", json={"msg": msg})
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user