Discord_webhook/README.md
2025-02-11 11:52:34 +01:00

19 lines
332 B
Markdown

# 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
```
![screenshot](./screenshot.png)