update hhsh

This commit is contained in:
SiHuan 2021-04-22 21:57:47 +08:00
parent 154e4618bf
commit 3bbe823246

View file

@ -11,7 +11,10 @@ class Ans(StdAns):
msg = f"[CQ:reply,id={self.raw_msg['message_id']}]"
r = nbnhhsh(self.parms[1])
msg += f'''{(str(r['trans'])[1:-1]).replace("'","").replace(","," ")}'''
try:
msg += f'''{(str(r['trans'])[1:-1]).replace("'","").replace(","," ")}'''
except:
msg += "没查到("
return msg