1
0
mirror of https://github.com/ComfyFactory/ComfyFactorio.git synced 2026-06-20 16:32:28 +02:00

chatbot > admins no longer get help messages

This commit is contained in:
MewMew
2018-12-23 17:39:28 +01:00
parent 39c182da88
commit 76a4e20fa0
+2
View File
@@ -52,6 +52,8 @@ local function process_custom_commands(event)
end
local function process_bot_answers(event)
local player = game.players[event.player_index]
if player.admin == true then return end
local message = event.message
message = string.lower(message)
for word in string.gmatch(message, "%g+") do