Add webhook.sh
orig
This commit is contained in:
commit
43600efbc6
10
webhook.sh
Normal file
10
webhook.sh
Normal file
@ -0,0 +1,10 @@
|
||||
WEBHOOK='https://discord.com/api/webhooks/1338109049413308526/YOURWEBHOOKHEREDARLING'
|
||||
|
||||
#Read from pipe
|
||||
while read content;
|
||||
do
|
||||
MSG="{\"content\":\"${content}\"}"
|
||||
echo $MSG
|
||||
done
|
||||
|
||||
curl -X POST -H "Content-Type: application/json" --data $MSG $WEBHOOK
|
Loading…
x
Reference in New Issue
Block a user