add 口关

This commit is contained in:
SiHuan 2020-07-14 16:49:15 +08:00
parent 5af53ef2c3
commit 2425a50d31
3 changed files with 3 additions and 3 deletions

View file

@ -7,7 +7,7 @@ class Ans(StdAns):
return '不加参数是坏文明!' return '不加参数是坏文明!'
if self.uid != 1318000868: if self.uid != 1318000868:
for sakuya in ['十六夜咲夜','十六夜','十六','咲夜','Sakuya','sakuya','Izayoi Sakuya','Izayoi','izayoi','izayoi sakuya']: for sakuya in ['口关夜','十六夜咲夜','十六夜','十六','咲夜','Sakuya','sakuya','Izayoi Sakuya','Izayoi','izayoi','izayoi sakuya']:
if sakuya in self.raw_msg['message']: if sakuya in self.raw_msg['message']:
return "不许你们说咲夜!!" return "不许你们说咲夜!!"

View file

@ -12,7 +12,7 @@ class Ans(StdAns):
def GETMSG(self): def GETMSG(self):
if self.parms: if self.parms:
if self.uid != 1318000868: if self.uid != 1318000868:
for sakuya in ['十六夜咲夜','十六夜','十六','咲夜','Sakuya','sakuya','Izayoi Sakuya','Izayoi','izayoi','izayoi sakuya']: for sakuya in ['口关夜','十六夜咲夜','十六夜','十六','咲夜','Sakuya','sakuya','Izayoi Sakuya','Izayoi','izayoi','izayoi sakuya']:
if sakuya in self.parms[0]: if sakuya in self.parms[0]:
return "咲夜是最完美的!!" return "咲夜是最完美的!!"
return '咱也不知道' + self.parms[0] + '是啥呢~' return '咱也不知道' + self.parms[0] + '是啥呢~'

View file

@ -24,7 +24,7 @@ class Ans(StdAns):
else: else:
keyword = self.raw_msg['message'][7:] keyword = self.raw_msg['message'][7:]
if self.uid != 1318000868: if self.uid != 1318000868:
for sakuya in ['十六夜咲夜','十六夜','十六','咲夜','Sakuya','sakuya','Izayoi Sakuya','Izayoi','izayoi','izayoi sakuya']: for sakuya in ['口关夜','十六夜咲夜','十六夜','十六','咲夜','Sakuya','sakuya','Izayoi Sakuya','Izayoi','izayoi','izayoi sakuya']:
if sakuya in keyword: if sakuya in keyword:
return "不许你们看咲夜的涩图!!" return "不许你们看咲夜的涩图!!"
params['keyword'] = keyword params['keyword'] = keyword