Skip to content

Latest commit

 

History

History
executable file
·
29 lines (15 loc) · 662 Bytes

README.md

File metadata and controls

executable file
·
29 lines (15 loc) · 662 Bytes

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