change var name to standize between my scripts

This commit is contained in:
Shihaam Abdul Rahman 2023-11-12 14:49:23 +05:00
parent e11df5be77
commit 21780aa6cf
Signed by untrusted user: shihaam
GPG Key ID: 6DA2E87EBC227636

4
bot.sh
View File

@ -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