pixiv no sakuya
This commit is contained in:
parent
92c10ae93d
commit
00ff3b0981
1 changed files with 2 additions and 0 deletions
|
@ -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()
|
||||||
|
|
Loading…
Reference in a new issue