What is veNUeS?
veNUeS is a Telegram Bot that helps NUS students find empty tutorial/seminar rooms to study in. It was a project made for Hack&Roll 2022 which won the Top 8 Teams prize!
I handled most of the time related functions such as making sure the correct timezone was used, rounding up or down to the nearest 30 mins depending on the current time as well as formatting the time to a more user friendly format. I also set up the hosting of the bot on Heroku using webhooks instead of long polling to reduce the number of requests sent to the server.
- Finally learning the Telegram Bot API which I wanted to learn for a long time!
- Having a feasible (being able to complete in the timeframe) and executable (having at least the basic knowledge) idea for the hackathon helps a lot. Basically don’t be too ambitious…
- It is probably a good idea to have a development database to use instead of using Firestore immediately if you have lots of data points updated per refresh (we manage to exceed the free tier and had to switch databases halfway through 🤡).