local C=require(script.Parent.Parent.Shared.Util)local O={Validate=function(C)if C: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(C)return C end}return function(V)V:RegisterType("\117\114\108",O)V:RegisterType("\117\114\108\115",C.MakeListableType(O))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
