Julian / developing-guess-the-number

Created Tue, 02 Sep 2025 19:08:08 -0500
508 Words

Coding Guess The Number

Guess The Number was a Discord bot I started developing in August 2023. I made it using BotGhost, which is a no-code bot builder I had lifetime premium in. It was quite simple to make, connecting blocks and using their data storage module. I was quite happy with it and it saw a level of success in my view. Until Discord tried to shut BotGhost down.

BotGhost’s ‘Shutdown’

In June 2025, Discord told Tom, the owner of BotGhost, that he must shut down BG by July 14th or find a new way to host the bots that doesn’t use bot tokens. This threatened my entire Guess The Number (GTN) bot, which depended on BotGhost’s availability to function entirely. As such, when Tom switched off the servers, GTN went dark.

I took this as a wake-up call to start making my projects more independent. I had previous experience using Python thanks to a course I had taken a few years prior, however this was only a basic level. I began to get accustomed to using discord.py, and made some basic Discord bots. Initially, the most advanced thing they could do was say something with a say command. If I wanted to recreate Guess The Number on discord.py, I would need to get to much more complex programs.

Coding With Discord.Py

I got help from a lot of places, such as friends I knew on Discord from the BG community: Taco & ZizzleWizard. I also used the godly assistance of YouTube tutorials to help me create things like cogs, which is a way to separate your commands and systems into separate folders & files. As I did this, I grew more and more experienced with discord.py, venturing into new systems and complexities. I overcame each error I encountered, though not without a lot of frustration.

Eventually, I got around to starting the Guess The Number project. My goal? Recreate the entire Guess The Number bot I had created with BotGhost. It needed to have every feature available, I didn’t want to provide a downgrade. So I got to work. I built each system carefully, cross-comparing my coded GTN with my BG GTN. Things were going extremely smoothly, that is until I got to hosting the bot and using a database.

Hosting the Bot & Using a Database

I decided to go with Taco’s server for hosting, it was relatively cheap & affordable and it suited my coded GTN’s needs. The next step was connecting the MongoDB to Taco’s server so I could begin using it. This turned out to be a huge headache on many levels. At one point, I had fully given up, and even announced my failure to the Discord server. I was exhausted, and my brain was not thinking straight.

I continued the project that night, ashamed of having given up. Within the next few days, I got MongoDB working! Coded GTN continued until now, where the Beta is live! I recommend checking out the Jjgraz Bots Discord server and taking a look!