Inspiration

Our Inspiration for this project was discord bots as we always wanted to make one that anyone have fun using. We also wanted to implement our knowledge of API calls which we learned from our courses to get a real understanding of API calls. We also loved Pokemon and decided creating a discord bot that allows people to engage themselves in pokemon adventures would be something we would love to create.

What it does

The PokemonBot allows one to start a pokemon adventure. By choosing a stater Pokemon (Charmander, Squirtle, or Bulbasaur), the player starts their adventure. The pokemon and stats are saved to a particular player id, and everyone of that particular server is saved to a particular guild id. With the player's starter pokemon, they can hunt in 8 different habitats for new pokemon. They can fight or capture wild rare pokemon and add it to their collection. The Pokemon Bot also gives details on the stats on pokemon hp and opponent hp when battling. Overall, the bot allows discord users to engage themselves in a pokemon game that all members of a server can play.

How we built it

We built it using python on visual studio code. We also utilized a couple of libraries such as openpyxl, pokebase and discord.py to make this project.

Challenges we ran into

We ran into a couple of challenges when it came to designing the battle feature as there were many errors and difficult parts to it that we didn't really understand. After collaborative work, we were able to understand the flaws in our code and fix the bugs the battle feature was going through to make it work. The overall project was relatively complex, as it had us experience a whole new field of programming and work with API calls heavily. It was a new experience for us which made it super challenging, but this taught us so much about APIs and working with discord bots.

Accomplishments that we're proud of

We are proud of the overall product we have developed as the bot works as we intended it to, which is our biggest achievement. We are also proud of how well the bot works on discord and how simple it is for anyone to play with the PokemonBot.

What we learned

We learned how to work with new libraries like the openpyxl, pokebase and discord.py as this was a new experience for us. Mainly, we learned to work with a lot of API calls as the project data was dependent on the Pokemon API. We also learned important collaboration tacts to effectively work together, and test and debug problems in the code.

What's next for Pokemon Discord Bot

The next step is to add tournaments and the feature for players to be able to battle each other. We hope to implement multiplayer, as playing solo is fun, but we want people to engage with other people in a discord server. We hope to implement various forms of multiplayer like tournaments, pokemon gyms, battles, etc, where discord users can challenge other discord users and have fun.

Join our bot https://discord.gg/BeFWgp9w

Built With

Share this project:

Updates