Compare commits

..

No commits in common. "54a9b3ec5f81f91f955512172695c5e474ade999" and "c907d2040cf7540b2668063e4221a5f9c9e2c893" have entirely different histories.

3 changed files with 3 additions and 3 deletions

View File

@ -4,7 +4,7 @@
# Determine the directory of the script
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )"
PROGRAM_NAME="Vaultwarden Backup"
PROGRAM_NAME="Gitea Backup Script"
### [ Imports ] ###
# Import Colors

View File

@ -4,7 +4,7 @@
# Determine the directory of the script
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )"
PROGRAM_NAME="Gitea Backup"
PROGRAM_NAME="Gitea Backup Script"
### [ Imports ] ###
# Import Colors

View File

@ -8,7 +8,7 @@ send_discord_notification() {
if [ -n "$DISCORD_WEB_HOOK" ]; then
curl \
-H "Content-Type: application/json" \
-d "{ \"content\":\"\", \"embeds\":[{ \"title\":\"${PROGRAM_NAME}\", \"description\":\"${message}\", \"color\":${color}} ]}" \
-d "{ \"content\":\"\", \"embeds\":[{ \"title\":\"Vaultwarden Backup\", \"description\":\"${message}\", \"color\":${color}} ]}" \
$DISCORD_WEB_HOOK
fi
}