update hhsh
This commit is contained in:
parent
154e4618bf
commit
3bbe823246
1 changed files with 4 additions and 1 deletions
|
@ -11,7 +11,10 @@ class Ans(StdAns):
|
|||
|
||||
msg = f"[CQ:reply,id={self.raw_msg['message_id']}]"
|
||||
r = nbnhhsh(self.parms[1])
|
||||
try:
|
||||
msg += f'''{(str(r['trans'])[1:-1]).replace("'","").replace(","," ")}'''
|
||||
except:
|
||||
msg += "没查到("
|
||||
|
||||
return msg
|
||||
|
||||
|
|
Loading…
Reference in a new issue