local G=3 local M=60 local t=60 local m={}local D=game:GetService("\082\117\110\083\101\114\118\105\099\101")local n=game:GetService("\067\104\097\116")local E=n:WaitForChild("\067\108\105\101\110\116\067\104\097\116\077\111\100\117\108\101\115")local P=script.Parent local q=n:WaitForChild("\067\108\105\101\110\116\067\104\097\116\077\111\100\117\108\101\115")local c=require(q:WaitForChild("\067\104\097\116\083\101\116\116\105\110\103\115"))local x=c.ErrorMessageTextColor or Color3.fromRGB(245,50,50)local F={ChatColor=x}
--- Constants used to decide when to notify that the chat filter is having issues filtering messages.
local FILTER_NOTIFCATION_THRESHOLD = 3 --Number of notifcation failures before an error message is output.
local FILTER_NOTIFCATION_INTERVAL = 60 --Time between error messages.
local FILTER_THRESHOLD_TIME = 60 --If there has not been an issue in this many seconds, the count of issues resets.

local module = {}

local RunService = game:GetService("RunService")
local Chat = game:GetService("Chat")
local ReplicatedModules = Chat:WaitForChild("ClientChatModules")

local modulesFolder = script.Parent
local ReplicatedModules = Chat:WaitForChild("ClientChatModules")
local ChatSettings = require(ReplicatedModules:WaitForChild("ChatSettings"))

local errorTextColor = ChatSettings.ErrorMessageTextColor or Color3.fromRGB(245, 50, 50)
local errorExtraData = { ChatColor = errorTextColor }
