SPLServer/scripts/webhook.sh
TudbuT 35ae6b7f35
All checks were successful
/ Build BaseBand SPLServer (push) Successful in 15s
Initial commit
2024-10-14 02:53:26 +02:00

1 line
No EOL
392 B
Bash

curl -i -s -o /dev/null -H "Accept: application/json" -H "Content-Type:application/json" -X POST --data "{\"content\": \"$*\n on $(basename "$(git describe --always --all)") with \`$(git log --no-abbrev --oneline | head -n1 | sed -E 's/\w+ (.*)/\1/g')\`\n at $(date)\"}" https://discord.com/api/webhooks/1250323633205940244/yu1v_moeBxWi4YWaRK_s4tNAXUGUJml-E2PbhToccVFo1Ax2_6Iq6R6lEONCKikHBBn4