fix fix remote mc

This commit is contained in:
SiHuan 2020-12-18 21:08:31 +08:00
parent ef328dfbbc
commit 0df4eee124

View file

@ -72,7 +72,7 @@ def say(saywhat):
else: else:
shellcmd = ['papermc','command','say',saywhat] shellcmd = ['papermc','command','say',saywhat]
code = call(shellcmd) code = call(shellcmd)
if code == 0: if code == '0':
msg = '咱已经把消息传过去了。' msg = '咱已经把消息传过去了。'
else: else:
msg = '٩(ŏ﹏ŏ、)۶竟然失败了,汝是不是让我发送奇怪的话过去!' msg = '٩(ŏ﹏ŏ、)۶竟然失败了,汝是不是让我发送奇怪的话过去!'