Skip to content

Project for HACKNITRR'22 submission - a telegram bot that gives updates from NIT RR official website directly to your telegram groups or dm along with attached documents.

rikkoder/HACKNITRR-DizzyBoiz

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A telegram bot that alerts about official updates from http://www.nitrr.ac.in/

HOW TO USE:

the bot is deployed on heroku, you can find the bot at https://t.me/nitrr_updatebot

HOW TO DEPLOY:

remember to add the following environment variables, herokuAppLink (not required to run on local machine) : get by creating new heroku app TOKEN : get bot token from BotFather(https://t.me/BotFather) JSONBLOB, CHATIDBLOB : get from https://jsonblob.com/api

(local machine) you can run the bot on your machine by changing the following line (in nitrr_updatebot.py)

from
updater.start_webhook(listen="0.0.0.0", port=int(PORT), url_path=TOKEN, webhook_url=f"{herokuAppLink}{TOKEN}")

to
updater.start_polling()

About

Project for HACKNITRR'22 submission - a telegram bot that gives updates from NIT RR official website directly to your telegram groups or dm along with attached documents.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published