Inspiration
We all have a love for playing video games and are all competitive in nature. The four of us are also happy users of the social media messaging platform Discord. Discord does an excellent job of catering to people who play video games, through its design and feature set, and we appreciate its ability to bring people together. Our love for gaming, competitive nature, and use of Discord inspired us to develop a bot to help further bring people together through some friendly competition.
What it does
The LoL (League of Legends) Discord Bot allows users to wager fake currency towards predicting the outcome of their friend's "League of Legends" games. This currency is granted only by server administrators, to allow for fair play. Match players have the option of running a betting opportunity for a 1 vs 1 with another server member or in normal regular/ranked matches.
How we built it
As our first-year/time hackers, we spent some time in the start delving into the many aspects of Discord bot tools, specifically Nextcord. The bot (mostly) uses asynchronous functions and buttons to allow for an easy-to-use interface. The program called the riot API with the help of a library called "riotWatcher". The code we wrote creates a player object that abstracts away most of the details related to getting match data from the Riot API
Challenges we ran into
- Staying Awake. Maintaining a good balance of working on the project, and not overworking ourselves proved to be difficult. We tried our best to take breaks, get sleep, and keep up our energy levels throughout the hackathon. However, it still proved to be difficult.
- Finding API sources which do not require payment for our use case also proved to be difficult. Many of the choices we were looking into either did not provide the information we needed or were outside our budget.
Accomplishments that we're proud of
We're quite proud that we were able to plan, learn, and build a project with little similar experience in the allotted time. Both the API handling and the Databases took time and effort to learn and implement, navigating bugs, and managing code organization.
What we learned
- Discord Bot Development Process
- Integrating APIs into code
- Working with databases
What's next for LoL Discord Bot
Further access to custom games using a Riot program called LCU, which we didn't have time to implement due to the lack of OAuthentication, which requires Riot to accept an application.
We also want to look into implementing a Stats Tracker Feature, where we provide more insight into statistics on players recorded in tracked matches
Betting on different statistics: Having a variety of statistics that can be bet on, such as betting that a player would obtain a KDA of higher than 2.
Log in or sign up for Devpost to join the conversation.