XZZ/worker/echo.py

13 lines
402 B
Python
Raw Normal View History

2020-02-28 10:34:34 +08:00
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