neil
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
notify/discord.sh
|
@ -46,7 +46,7 @@ discord_send() { |
|
|
|
|
|
|
|
|
if _post "$_data" "$DISCORD_WEBHOOK_URL?wait=true"; then |
|
|
if _post "$_data" "$DISCORD_WEBHOOK_URL?wait=true"; then |
|
|
# shellcheck disable=SC2154 |
|
|
# shellcheck disable=SC2154 |
|
|
if [ -n "$response" ]; then |
|
|
|
|
|
|
|
|
if [ "$response" ]; then |
|
|
_info "discord send success." |
|
|
_info "discord send success." |
|
|
return 0 |
|
|
return 0 |
|
|
fi |
|
|
fi |
|
|