forked from shihaam/starlink_status
change var name to standize between my scripts
This commit is contained in:
parent
e11df5be77
commit
21780aa6cf
4
bot.sh
4
bot.sh
@ -121,8 +121,8 @@ $current_weather
|
|||||||
|
|
||||||
#################################################################################
|
#################################################################################
|
||||||
echo Uploading to Telegram
|
echo Uploading to Telegram
|
||||||
curl -X POST https://api.telegram.org/bot$TG_BOT_API_KEY/sendPhoto \
|
curl -X POST https://api.telegram.org/bot$TG_BOT_TOKEN/sendPhoto \
|
||||||
-F chat_id=$TG_CHANNEL_ID \
|
-F chat_id=$TG_CHATID \
|
||||||
-F photo=@$image \
|
-F photo=@$image \
|
||||||
-F caption="$caption" \
|
-F caption="$caption" \
|
||||||
-F parse_mode=Markdown >> /dev/null
|
-F parse_mode=Markdown >> /dev/null
|
||||||
|
Loading…
x
Reference in New Issue
Block a user