Inspiration
Discord has been a home for TL for quite some time now, with our org's investment into the platform growing by the day, most recently with investments from Liquid Plus! I felt it would only be right to create a bot which helps fans interact with their favorite team and players right where they feel most at home: their own servers!
What it does
BlueBot was built with the intention of including 3 main features:
- A quick link command for player social accounts
- A watchtime tracker / leaderboard for server member to participate in
- A TL trivia command, pulling random trivia facts from the legacy Liquipedia API about a random TL player
How I built it
I utilized the discord.js library to build a bot on Node.js, with the live instance to be hosted on Heroku when complete.
Challenges I ran into
My major roadblock was the classic hackathon issue: time. I had to fit in this project around ~20 hrs of scheduled work over Friday and Saturday that I just couldn't move, so I didn't build as much as I had planned for this project. Also, I had a minor issue with the LiquidDB API only accepting application/x-www-form-urlencoded MIME types, as my FormData conversion library was only able to be pushed using multipart/form-data. :(
What I learned
Given the above time constraints, I'm still fairly proud of what came about from about 8ish hours of total work over a time crunched weekend, going from no knowledge of how to make a bot to a semi-functional product!
What's next for BlueBot
I look forward to further developing BlueBot further (although probably utilizing only the public metawiki API, since I can only assume the private API will be restricted in use after this event :( ) and functionally adding in the features listed above on my own time!
And of course, thanks for taking the time to review this submission! #LetsGoLiquid
Built With
- discord.js
- liquiddb-api
- node.js
Log in or sign up for Devpost to join the conversation.