Add webhook.sh

orig
This commit is contained in:
justine 2025-02-09 13:13:38 +01:00
commit 43600efbc6

10
webhook.sh Normal file
View 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