Skip to content

NUS-SU-Calculator is a telegram bot specially built for AY19/20 Semester 2. It provides a guide on which modules to S/U in order to maximise one's CAP. The bot is stable, fast and accurate. It is officially pushed out for use on 24/05/2020 and has received an overwhelming 10,000+ users till date. Bot address: https://t.me/nusacadplan_bot

Notifications You must be signed in to change notification settings

jxrrelo/NUS-SU-Calculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NUS-SU-Calculator

NUS-SU-Calculator is a telegram bot specially built for AY19/20 Semester 2. It provides a guide on which modules to S/U in order to maximise one's CAP. The bot is stable, fast and accurate. It is officially pushed out for use on 24/05/2020 and has received an overwhelming 10000+ users till date. Bot address: https://t.me/nusacadplan_bot

Installation

pip install logging
pip install inflect
pip install telegram

Usage

import logging
import inflect
import os
import telegram

PORT = int(os.environ.get('PORT', < Port Number > ))
bot = telegram.Bot(token= < API Key >)

updater = Updater(
        < API Key > , use_context=True)
      
#For webhook
updater.start_webhook(listen= < Listen Address >,
                          port=int(PORT),
                          url_path= < API Key >)

updater.bot.setWebhook( < Server Name > +
                           < API Key > )

About

NUS-SU-Calculator is a telegram bot specially built for AY19/20 Semester 2. It provides a guide on which modules to S/U in order to maximise one's CAP. The bot is stable, fast and accurate. It is officially pushed out for use on 24/05/2020 and has received an overwhelming 10,000+ users till date. Bot address: https://t.me/nusacadplan_bot

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages