From 7fdffc3dc29d7a277357cb804609a29bf112aa02 Mon Sep 17 00:00:00 2001 From: SiHuan Date: Wed, 27 Jan 2021 11:57:06 +0800 Subject: [PATCH] fix wait --- worker/wait.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/worker/wait.py b/worker/wait.py index c0f997b..73fbf81 100644 --- a/worker/wait.py +++ b/worker/wait.py @@ -19,5 +19,6 @@ class Ans(StdAns): # print("%02d:%02d:%02d" % (h, m, s)) text = f"{resp['title_native']}\n{resp['title_chinese']}\nEP#{resp['episode']} {h:02.0f}:{m:02.0f}:{s:02.0f}\n{int(resp['similarity']*100)}% similarity" - msg = f"[CQ:video,file={video_url}]\n{text}" + msg = f"[CQ:video,file={video_url}]" + self.sendmsg(text) return msg \ No newline at end of file