Back

MMORPG Bot

Purpose:

The purpose was a discord bot that allowed people to experience stories in the selected character that they chose. They had coins and inventories. It was predefined stories with chance involved. I also added duels and daily rewards as a proof of concept. All the embeds were editable by the client using the web panel.

What I Learned:

This was my first project using Oauth2 web panels linked into the bot. It was relatively easy to set up and very fun to code. I also learned a bit about binary representation because I decided to code my weapon data using only binary instead of some sort of JSON object. I also learned how to effectively chain commands in discord. Another important skill that I learned was hosting projects temporarily with ngrok. This still comes in handy when I need to show someone a project I have been making but I do not want to open a whole seperate port.

What I struggled with:

I struggled the most with data saving. For some reason my MongoDB wrapper was being annoying, and did not want to save the data for the user.