Discord webhook
Install jq:
yay -S jq
Take a look at the script and :
- Add your own webhook URL in $WEBHOOK
- Customize the beginning and ending, add your own user id in the ending if you want to be notified
Run a command and send its content :
my_command 2>&1 | ./webhook.sh
