tulul / tululbot

Telegram Bot for Tululness
Apache License 2.0
8 stars 6 forks source link

Revamp code #2

Closed kmkurn closed 9 years ago

kmkurn commented 9 years ago

This PR does several things:

  1. Not exposing TOKEN; TOKEN is assumed to be supplied from environment variable
  2. Use Flask (http://flask.pocoo.org/) cause it's simpler and one of the most popular microframework in Python (I think)
  3. Assumes that the bot will be deployed on Heroku

This PR needs some developer's guide so others can apply this changes on their local machine and make sure that this works. I'll update this later. Please remind me.

wazaundtechnik commented 9 years ago

51688645 2

fushar commented 9 years ago

Nice. Looks good to me. Ran the code and it worked.