XZZ/worker/emmm.py

21 lines
547 B
Python
Raw Normal View History

2020-07-14 17:04:09 +08:00
from zzcore import StdAns, mysakuya
2020-02-27 21:47:36 +08:00
2020-06-18 19:25:32 +08:00
2020-02-27 21:47:36 +08:00
class Ans(StdAns):
2020-08-22 22:19:58 +08:00
NotAllowGroup = [204097403, 1107535671]
2020-06-18 19:25:32 +08:00
def CheckPermission(self):
2020-06-20 15:35:23 +08:00
if self.gid in self.NotAllowGroup:
2020-06-18 19:25:32 +08:00
return -1
2020-06-20 15:35:23 +08:00
return 0
2020-06-18 19:25:32 +08:00
2020-02-27 21:47:36 +08:00
def GETMSG(self):
if self.parms:
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-02-27 21:47:36 +08:00
return '咱也不知道' + self.parms[0] + '是啥呢~'
else:
2020-06-18 19:25:32 +08:00
return '汝再调戏咱,咱可就生气了!!'