asdf
This commit is contained in:
@@ -33,7 +33,7 @@ export TAKISTAN_MOD_ID=2563233742
|
|||||||
################### GLOBAL ALIASES ###########################
|
################### GLOBAL ALIASES ###########################
|
||||||
# note: OLD? MAYBE NEEDED?
|
# note: OLD? MAYBE NEEDED?
|
||||||
###########alias do_sync='rsync -rvltDhu --delete --partial --progress'
|
###########alias do_sync='rsync -rvltDhu --delete --partial --progress'
|
||||||
unalias rsync
|
unalias rsync 2>/dev/null ||:
|
||||||
alias do_sync='rsync -avhu --progress --delete --partial --links'
|
alias do_sync='rsync -avhu --progress --delete --partial --links'
|
||||||
################### GLOBAL ALIASES ###########################
|
################### GLOBAL ALIASES ###########################
|
||||||
|
|
||||||
|
|||||||
12
webhook.sh
Normal file
12
webhook.sh
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
webhook_url="https://discord.com/api/webhooks/1176483934008262749/F2fav42fOyucZcgf-0z9o7iY9AkCPCNBfhazdeUU-9Ycc7jnhO7l12xS-F7idbK60xtz"
|
||||||
|
|
||||||
|
msg() {
|
||||||
|
message="$(printf '%s' "$*" | jq -Rsa .)"
|
||||||
|
|
||||||
|
curl -s \
|
||||||
|
-X POST "$webhook_url" \
|
||||||
|
-H "Content-Type:application/json" \
|
||||||
|
--data "{\"content\": $message}"
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user