Compare commits
5 Commits
3d42e83e3e
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
| 48a97ea739 | |||
| 4448c68175 | |||
| 5895eb1d5c | |||
| f1420b7ef2 | |||
| 2cefe7dcbb |
@ -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
|
||||
|
||||
BIN
screenshot.png
BIN
screenshot.png
Binary file not shown.
|
Before Width: | Height: | Size: 18 KiB After Width: | Height: | Size: 16 KiB |
@ -7,7 +7,7 @@ begin="Command result:
|
||||
|
||||
ending="
|
||||
\`\`\`
|
||||
<@635539351324983374>
|
||||
<@YOURUSERIDHERE>
|
||||
-# Sent from $(hostname) @ $(date)"
|
||||
|
||||
#Read from pipe
|
||||
|
||||
Reference in New Issue
Block a user