2020-02-28 10:34:34 +08:00
|
|
|
import random
|
2020-07-14 17:04:09 +08:00
|
|
|
from zzcore import StdAns, mysakuya
|
2020-02-28 10:34:34 +08:00
|
|
|
|
|
|
|
class Ans(StdAns):
|
|
|
|
def GETMSG(self):
|
2020-02-29 00:11:41 +08:00
|
|
|
if len(self.parms) < 2:
|
|
|
|
return '不加参数是坏文明!'
|
2020-07-14 17:04:09 +08:00
|
|
|
|
|
|
|
if mysakuya(self,self.raw_msg['message']) == False:
|
|
|
|
return "不许你们说咲夜!!"
|
2020-07-14 16:44:26 +08:00
|
|
|
|
2020-02-28 10:34:34 +08:00
|
|
|
r = random.randint(1,3)
|
|
|
|
if r == 1:
|
2020-03-16 15:46:37 +08:00
|
|
|
msg = self.raw_msg['message'][6:]
|
2020-02-28 10:34:34 +08:00
|
|
|
elif r == 2:
|
|
|
|
msg = "汝以为咱会复读的嘛!\n(╯' - ')╯︵ ┻━┻\n" + self.raw_msg['message'][5:]
|
|
|
|
elif r == 3:
|
|
|
|
msg = '咱才不做复读机。→_→'
|
|
|
|
return msg
|