XZZ/worker/echo.py
2020-02-28 10:34:34 +08:00

13 lines
No EOL
402 B
Python

import random
from zzcore import StdAns
class Ans(StdAns):
def GETMSG(self):
r = random.randint(1,3)
if r == 1:
msg = self.raw_msg['message'][5:]
elif r == 2:
msg = "汝以为咱会复读的嘛!\n(╯' - ')╯︵ ┻━┻\n" + self.raw_msg['message'][5:]
elif r == 3:
msg = '咱才不做复读机。→_→'
return msg