dotfiles/bin/dhook

9 lines
239 B
Text
Raw Normal View History

2019-11-06 20:35:44 +00:00
#!/bin/bash
text='{"content":"'$(</dev/stdin)'"}'
curl -H "Content-Type: application/json" -X POST -d "$text" https://discordapp.com/api/webhooks/636944157625024565/nj11LQ0I716GR8C81WnPYYWW9lwuvJKhnyOX1UIrTaB6ldYn5mjf4qaqmdMQkII2HIRM