vnstati_webhook add some context
This commit is contained in:
parent
55ac681574
commit
36a5485001
20
vnstati_webhook/README.md
Normal file
20
vnstati_webhook/README.md
Normal file
@ -0,0 +1,20 @@
|
||||
# VNSTATI webhook
|
||||
|
||||
A simple and maybe effective script to generate vnstati graph and send it to your discord via webhook!
|
||||
|
||||
# How to run?
|
||||
```
|
||||
curl -sL https://github.com/minoplhy/scriptbox/raw/main/vnstati_webhook/sti_discord.sh | bash -s -- -w WEBHOOK_URL ARGUMENTS GOES HERE!
|
||||
```
|
||||
|
||||
## Arguments
|
||||
`-w` DISCORD_WEBHOOK_URL
|
||||
`-s` summary, hsummary, vsummary
|
||||
`-d` DAYS
|
||||
`-g` 0, 1, 2, 3
|
||||
`-h` TEXT, optional
|
||||
`-i` SCALE
|
||||
`-t` `enable Image Transparent`
|
||||
|
||||
## Image
|
||||
![ScreenShot](assets/screenshot.png)
|
BIN
vnstati_webhook/assets/screenshot.png
Normal file
BIN
vnstati_webhook/assets/screenshot.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 86 KiB |
@ -33,7 +33,7 @@ if [ -n "${days_limit}" ]; then
|
||||
fi
|
||||
|
||||
if [ -n "${header_text}" ]; then
|
||||
PARAMS+=("--headertext '$header_text'")
|
||||
PARAMS+=("--headertext "$header_text"")
|
||||
fi
|
||||
|
||||
if [ -n "${image_scale}" ]; then
|
||||
|
Loading…
Reference in New Issue
Block a user