respond-agent/bin/dhook
2019-11-07 23:08:03 -05:00

8 lines
256 B
Bash
Executable file

#!/bin/bash
text='{"content":"'$(cat /dev/stdin | tr "\n" " ")'"}'
curl -H "Content-Type: application/json" -X POST -d "$text" https://discordapp.com/api/webhooks/636944157625024565/nj11LQ0I716GR8C81WnPYYWW9lwuvJKhnyOX1UIrTaB6ldYn5mjf4qaqmdMQkII2HIRM