update lsp

This commit is contained in:
SiHuan 2021-05-06 20:38:45 +08:00
parent bd46f9d218
commit 348b418a92

View file

@ -15,7 +15,7 @@ class Ans(StdAns):
keyword = self.parms[1] keyword = self.parms[1]
if mysakuya(self, keyword) == False: if mysakuya(self, keyword) == False:
return "不许你们看咲夜的涩图!!" return "不许你们看咲夜的涩图!!"
code, picurl = getsetu() code, picurl = getsetu(keyword)
if code == 0: if code == 0:
return f'[CQ:reply,id={self.mid}][CQ:image,file={picurl},type=flash]' return f'[CQ:reply,id={self.mid}][CQ:image,file={picurl},type=flash]'
else: else: