Semi-Working setup with static image to test discord server.
This commit is contained in:
parent
d0b299ed17
commit
3ec038bb1e
Binary file not shown.
|
After Width: | Height: | Size: 379 KiB |
|
|
@ -10,13 +10,13 @@
|
|||
# ./scripts/push_processors/push_discord.sh /srv/images/NOAA-18-20210212-091356-MCIR.jpg "test"
|
||||
|
||||
# import common lib and settings
|
||||
. "$HOME/.noaa-v2.conf"
|
||||
. "$NOAA_HOME/scripts/common.sh"
|
||||
#. "$HOME/.noaa-v2.conf"
|
||||
#. "$NOAA_HOME/scripts/common.sh"
|
||||
|
||||
# input params
|
||||
DISCORD_WEBHOOK=$1
|
||||
IMAGE=$2
|
||||
MESSAGE=$3
|
||||
DISCORD_WEBHOOK=https://discord.com/api/webhooks/1328127093590196254/4qeyLRUweFwf8bBv_D9fOWq3xSQHzm2HEYZoKB_IyXRHxwd25byaICR3fd6Y2C2tttYQ
|
||||
IMAGE=/home/danny28506/gitea/Automated_Discord_Image_Pusher/Patch_starfleet_command_2000.png
|
||||
#MESSAGE=$3
|
||||
|
||||
# check that the file exists and is accessible
|
||||
if [ -f "${IMAGE}" ]; then
|
||||
|
|
|
|||
Loading…
Reference in New Issue