This commit is contained in:
SiHuan 2021-08-12 19:03:30 +08:00
parent 643f2545ba
commit 8057283a8a
No known key found for this signature in database
GPG key ID: A047C9783A4C18AA

View file

@ -24,7 +24,8 @@ class Ans(StdAns):
return "不许你们看咲夜的涩图!!"
code, picurl, pid = getsetu(keyword)
if code == 0:
return f'[CQ:image,file={picurl}{flash}]Pixiv ID:{pid}'
self.sendmsg(f'[CQ:reply,id={self.mid}]Pixiv ID:{pid}')
return f'[CQ:image,file={picurl}{flash}]'
else:
return f'[CQ:reply,id={self.mid}] 什么东西出错了code:{code}'