Compare commits

...

3 Commits

Author SHA1 Message Date
48a97ea739 Update README.md 2025-02-11 11:52:34 +01:00
4448c68175 Update webhook.sh 2025-02-11 11:52:04 +01:00
5895eb1d5c Update README.md 2025-02-11 11:51:24 +01:00
2 changed files with 5 additions and 1 deletions

View File

@ -5,6 +5,10 @@ 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

View File

@ -7,7 +7,7 @@ begin="Command result:
ending="
\`\`\`
<@635539351324983374>
<@YOURUSERIDHERE>
-# Sent from $(hostname) @ $(date)"
#Read from pipe