local m=game:GetService("\068\097\116\097\083\116\111\114\101\083\101\114\118\105\099\101")local D=m:GetDataStore("\099\111\109\109\097\110\100\101\114\046\098\097\110\115")local M={Name="\067\104\097\116 \108\111\103\115",Description="\083\104\111\119\115 \097 \108\105\115\116 \111\102 \099\104\097\116 \109\101\115\115\097\103\101\115";Location="\083\101\114\118\101\114"}local A={}M.Execute=function(m,D,t)if D=="\099\111\109\109\097\110\100"then M.API.sendListToPlayer(m,"\067\104\097\116 \108\111\103\115",A)elseif D=="\102\105\114\115\116\114\117\110"then M.API.registerPlayerAddedEvent(function(m)m.Chatted:Connect(function(D)A[#A+1]=m.Name..("\058 "..D)end)end)end end return M
local DataStoreService = game:GetService("DataStoreService")
local dataStore = DataStoreService:GetDataStore("commander.bans")
local module = {
	Name = "Chat logs",
	Description = "Shows a list of chat messages",
	Location = "Server",
}
local t = {}

module.Execute = function(Client, Type, Attachment)			
	if Type == "command" then
		module.API.sendListToPlayer(Client, "Chat logs", t)
	elseif Type == "firstrun" then
		module.API.registerPlayerAddedEvent(function(Client)
			Client.Chatted:Connect(function(Message)
				t[#t + 1] = Client.Name .. ": " .. Message
			end)
		end)
	end
end

return module