Add this file to your Linux server and use it like this to send a message to your Discord server through webhooks:
./pushToDiscord.sh "Message title" "Message caption" "Message body" "Message color Int"
https://gist.github.com/thomasbnt/b6f455e2c7d743b796917fa3c205f812
Warning
If you use the wrong color code, the message won't go through.
https://support.discord.com/hc/en-us/articles/228383668-Intro-to-Webhooks