Inspiration
As avid lovers of drama, our team often spends our free time catching up with dramas of various genres. Usually, we will google search to find out about new dramas. However, a common issue we frequently face is when we are unable to find the type of drama we are interested in. Hence, we came up with this telegram bot, which hopefully, will make finding drama for everyone much easier.
What it does
RecoDramaBot recommends users dramas to watch based on users’ preferences. First, users will be prompted to choose the country of the drama, followed by production year and genre. Users can explore more on the bot by clicking on the various buttons such as synopsis and cast to learn more about the drama.
How we built it
We used intellij as a platform to join both our java and mysql codes together. Intellij also allows us to access the TelegramBotApi, which is required to build a telegram bot. We split up the work, where Yu Zhen worked on the front end/UI while Wee Lin and Ying Qi worked on the backend and database together.
Challenges we ran into
As this was our first time creating a telegram bot, we were unfamiliar with the syntax. However, reading the Telegram Bot API helped us a lot. Initially, we wanted the bot to send a photo of the drama poster when the user clicks on a particular drama. However, we were unable to do that due to time constraints. During trial runs of our telegram bot, we faced technical glitches such as the telegram bot lagging and the telegram bot sending duplicate messages. However, we managed to solve through debugging.
Accomplishments that we're proud of
We are proud to have built a telegram bot from scratch within 24 hours with no prior experience. Also, we manage to apply our knowledge in 2 different languages - Java and SQL to build the telegram bot across different platforms.
What we learned
We learnt to build to telegram bot. Also, we learnt the importance of incremental programming. There are many components to a telegram bot and incremental programming has made our lives much easier as it was easier to find out the errors and debug them.
What's next for RecoDramaBot
Given the time and resources, we are interested in expanding our database to include more variety of dramas, not limiting to the countries and genres in the bot now. We would also like to increase more functions for our bot, such as providing status of the drama, to provide users with as much information as possible. Furthermore, we would also like to add related posters of the dramas to provide some visual context as well.
Built With
- intellij-idea
- java
- mysql
- telegrambotapi
Log in or sign up for Devpost to join the conversation.