You've already forked ComfyFactorio
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user