local z=require(script.Parent.Parent.Shared.Util)local s={Validate=function(z)if z:match("\094\104\116\116\112\115\063\058\047\047\046\043\036")then return true end return false,"\085\082\076\115 \109\117\115\116 \098\101\103\105\110 \119\105\116\104 \104\116\116\112\058\047\047 \111\114 \104\116\116\112\115\058\047\047"end,Parse=function(z)return z end}return function(B)B:RegisterType("\117\114\108",s)B:RegisterType("\117\114\108\115",z.MakeListableType(s))end
local Util = require(script.Parent.Parent.Shared.Util)

local storedKeyType = {
	Validate = function(text)
		if text:match("^https?://.+$") then
			return true
		end

		return false, "URLs must begin with http:// or https://"
	end,

	Parse = function(text)
		return text
	end,
}

return function(cmdr)
	cmdr:RegisterType("url", storedKeyType)
	cmdr:RegisterType("urls", Util.MakeListableType(storedKeyType))
end
