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