local D=script.Parent local p=require(D.Core.Remote)local n=p.getCore()local I=p.getManager()local b=I.getModule("\065\114\103\117\109\101\110\116\115")local F=I.getModule("\080\097\114\115\101\114")local L=I.getModule("\085\115\101\114\115")local g={}function g.handleMessage(D,p)if not g.isCommand(p)then return end end function g.init()L.userLoaded:Connect(function(D)D.Chatted:Connect(function(p)g.handleMessage(D,p)end)end)end return g
-- OptimisticSide
-- 5/8/2021
-- Command processor

local server = script.Parent
local Remote = require(server.Core.Remote)

local Core = Remote.getCore()
local Manager = Remote.getManager()

local Arguments = Manager.getModule("Arguments")
local Parser = Manager.getModule("Parser")
local Users = Manager.getModule("Users")

local Processor = {}

-- Handles a sent message.
function Processor.handleMessage(player, message)
	if not Processor.isCommand(message) then return end
	-- TODO: Finish working on this.
end

-- Initializes processor and sets up
-- event connections.
function Processor.init()
	Users.userLoaded:Connect(function(player)
		player.Chatted:Connect(function(message)
			Processor.handleMessage(player, message)
		end)
	end)
end

return Processor
