update wait
This commit is contained in:
parent
f5aebdbed5
commit
2d81fdde16
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@ class Ans(StdAns):
|
||||||
m, s = divmod(float(resp['at']), 60)
|
m, s = divmod(float(resp['at']), 60)
|
||||||
h, m = divmod(m, 60)
|
h, m = divmod(m, 60)
|
||||||
# print("%02d:%02d:%02d" % (h, m, s))
|
# 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"
|
text = f"[CQ:reply,id={self.raw_msg['message_id']}]{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}]"
|
msg = f"[CQ:video,file={video_url}]"
|
||||||
self.sendmsg(text)
|
self.sendmsg(text)
|
||||||
|
|
Loading…
Reference in a new issue