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
|
|
|
|
2021-01-27 11:33:32 +08:00
|
|
|
if mysakuya(self,self.raw_msg['raw_message']) == False:
|
2020-07-14 17:04:09 +08:00
|
|
|
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:
|
2021-01-27 11:33:32 +08:00
|
|
|
msg = self.raw_msg['raw_message'][6:]
|
2020-02-28 10:34:34 +08:00
|
|
|
elif r == 2:
|
2021-01-27 11:33:32 +08:00
|
|
|
msg = "汝以为咱会复读的嘛!\n(╯' - ')╯︵ ┻━┻\n" + self.raw_msg['raw_message'][5:]
|
2020-02-28 10:34:34 +08:00
|
|
|
elif r == 3:
|
|
|
|
msg = '咱才不做复读机。→_→'
|
|
|
|
return msg
|