pixiv no sakuya

This commit is contained in:
SiHuan 2020-07-12 23:19:40 +08:00
parent 92c10ae93d
commit 00ff3b0981

View file

@ -23,6 +23,8 @@ class Ans(StdAns):
else: else:
keyword = self.raw_msg['message'][7:] keyword = self.raw_msg['message'][7:]
if keyword in ['十六夜咲夜','十六夜','咲夜','Sakuya','sakuya','Izayoi Sakuya','Izayoi','izayoi','izayoi sakuya']:
return "不许看咲夜的涩图!!"
params['keyword'] = keyword params['keyword'] = keyword
try: try:
resp = requests.get(url=url,params=params).json() resp = requests.get(url=url,params=params).json()