From e37892e6375450b0ff2b5a88a100f3198c3d05fd Mon Sep 17 00:00:00 2001 From: SiHuan Date: Fri, 28 Feb 2020 19:46:17 +0800 Subject: [PATCH] mc up up up up --- worker/mc.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/worker/mc.py b/worker/mc.py index 37a8949..1870cea 100644 --- a/worker/mc.py +++ b/worker/mc.py @@ -37,6 +37,8 @@ class Ans(StdAns): msg = msg + '\n' + player elif cmd == 'say': saywhat = self.raw_msg['message'][8:] + if not saywhat: + return '汝让咱say what?o(≧口≦)o' shellcmd = ['spigot','command','say',saywhat] if call(shellcmd) == 0: msg = '咱已经把消息传过去了。'