Logo

Student Corner

My Experience: Programming My Own Discord Bot

Written by: Prasoon Man Shrestha - 2022015, Grade X

Posted on: 06 December, 2020

When I was wandering around discord a friend messaged me suggesting that we should build a discord bot for our discord server. The skill level of the idea seemed way higher than my programming skills, but after binging through many YouTube “how to” tutorials, the idea seemed more approachable. After that, I finally decided to build my own discord bot.

First of all, discord is a digital social platform designed to build communities. Users communicate through voice channels, text channels, and private messages. Our discord community server had around 80 members at the time and we only focused on gaming topics in our server. I wanted to make a bot that is sarcastic and moderates the server. I started searching for a name for my bot. I wanted something that sounded cool and professional. I went off and on with many names and finally decided to settle with the name Archvile. Archvile is the name of a grotesque-looking monster which is from my personal favorite video game DOOM.

After that, I choose a javascript programming language to program my discord bot. I brainstormed many ideas and features for my bot. I binged through many tutorials and surfed the web for other bots’ source codes for my reference. On the first attempt, I finished all my coding and tried hosting the bot with a free hosting service. When I saw the bright green online circle beside my bot’s username I was overwhelmed with happiness. But that happiness did not last long. The hosting service did not support most of the code that I wrote and I had to start it all over again.

Most of the hosting services were paid services and I did not have any options. I started the programming all over again. I hosted my bot from my pc but it was not possible to host it for 24 hours with my PC. I added features like playing music through the bot so you can listen to music with your friends with high sound quality. I added many features like memes that the bot randomly sends from a subreddit when a user types a specific command.

As of now, I am still adding more functions and features. I am still trying to host my bot 24 hours. I have my bot added to 3 servers as of now and I am trying to expand the user base of my bot. My goal is to get my bot added to 100 servers and get the verified developer badge.