This was a solo project outside of school that I took on in order to further my programming skills.
Prior to this project I had taken a C++ course, but I had forgotten most of what I learned from the the course other than the absolute basics.
I wasn't sure exactly where to start, but I had seen that people had custom bots for Discord, so I decided that the best way to learn was to take on a project that I had an interest in.
After deciding to make a make a Discord bot the following step was to decide which language to use.
At this point I was impartial regarding which language to use, so I just went with the most popular starter guide which was written in JavaScript using NodeJS, specifically the discord.js module.
I really did not know how big of a project I was undertaking when I first started since there were so many tasks I did not know how to even begin to approach.
Eventually after reading documentation, asking for help from friends, and asking help from the programmers in the Discord API server, my bot was looking pretty good, but there was still one big problem.
I still did not know how to have my bot online 24/7 since I was still hosting the bot locally.
I then decided to look into hosting and that's when I started using GitHub to host my repositories and then I started using Heroku to host my bot.
The purpose of the bot I built is fairly simple. It's a bot that provides trivia answers for a game.
Respond to trigger phrases from a predefined hash-map
Remind you when your next daily bonus is ready (every 4 hours)
I have provided source code for discord bot, but I provided a public version that does not contain the hash-map that serves as a dictionary containing all the questions and answers for the trivia game