Skip to content

vishnumad/weather-bot-telegram

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

weather-bot-telegram

A weather bot for Telegram built using node-telegram-bot-api. Features inline queries for autocompleting city names. Remix for personal use.

City autocomplete results from Teleport.

Weather data from OpenWeatherMap.


server.js

Contains server code

bot.js

Contains bot code

.env

Environmental variables

  • TELEGRAM_TOKEN - Telegram bot token

  • AUTHORIZED_USERS - Telegram user ids separated by comma; ex. '1234,5678,4321'

  • OWM_API_KEY - API Key from OpenWeatherMap

  • NTBA_FIX_319=1

About

A weather bot for Telegram

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published