Inspiration

It's the middle of the night, and your group's craving for supper kicks in. Time to order some prata, but wait – the group chat turns into a chaotic mess of orders. Timing your message right, editing, or removing orders becomes a frustrating game. And tracking payments? That's a whole other level of hassle, especially with those who 'forget' to pay. But imagine a world where this chaos turns into simplicity. Enter LetsMakanBot: a streamlined, hassle-free way to organise group orders, manage edits, and ensure everyone pays up on time – all through a user-friendly bot. Say goodbye to chat floods and payment chasing. Supper orders just got a whole lot easier. Enjoy!

What it does

When your group decides to order in, or arrows someone to "dabao" from somewhere for the group, the person purchasing can initiate an order, and set a timer in minutes. Within that time, everyone in the group can add their orders, and edit or remove them as necessary. After the orders are finalised, the group gets an order summary which shows who ordered what. The purchaser uses this as reference to place orders. After he has finished purchasing, the purchaser DMs the bot the price of each dish, after which the bot will send a DBS PayLah! link to each member who ordered, and mentions how much their food cost in total, so that they can finish their payment in a few taps. So no excuses for "laziness" or "forgetfulness".

How we built it

The Bot was coded entirely on python, with the telebot library and Telegram's API for the conversation handlers. sqlite3 was the database of choice, due to the lightweight (but powerful) nature of this bot.

Challenges we ran into

Bugs, bugs and more bugs, especially with tracking active sessions and getting the price submission function to work, as it had a lot of dependencies. Also figuring out sqlite3 as databases are relatively new to me.

Accomplishments that we're proud of

My first hackathon product that can actually be classified as a MVP!! My older ones were POCs at best. My longest program too with about 550 lines of code...

What we learned

Improved my bug squashing skills thanks to the added experience, and learning how to use a database.

What's next for LetsMakanBot!

Try to make the price submission ab bit more user. friendly, try to integrate payments with some payment APIs and expand to those who do not use DBS too. Learn from others what they would like to see and keep improving the bot based on that

Built With

Share this project:

Updates