15 lines
160 B
Markdown
15 lines
160 B
Markdown
# Discord webhook
|
|
|
|
Install jq:
|
|
```
|
|
yay -S jq
|
|
```
|
|
|
|
Run a command and send its content :
|
|
```
|
|
my_command 2>&1 | ./webhook.sh
|
|
```
|
|
|
|

|
|
|