Discord Bot

A multipurpose Discord bot capable with complete server moderation, custom commands made to handle my own personal projects.

Discord Bot preview
Bot Commands

This bot did much more than just moderate servers, it was capable of connecting to Roblox experiences sending and receiving requests using Flask and Rblx-Open-Cloud. This allowed for unique interactions with games, one in specific was for permadeath story games.

It was used to disconnect, mute or deafen users inside voice channels on the server based on in game events. This prevented metagaming but more importantly created a deeper immersive factor that you cannot achieve on a limited engine like Roblox.

User Being Disconnected On Death

The example project above was a framework (Guns, Equipment, Movement) I created for an Attack on Titan inspired permadeath game on the Roblox platform.

How Does It Work?

It was developed using Python (Discord.Py an API wrapper), I opted for this over JavaScript (DiscordJS) due to Python's simplicity. It was fairly straightfoward, create an application in the Discord's Developer Portal and then create your bot.

Make sure you've set your bot's permissions correctly, and invite it to your server. Using the given token for the bot I was able to login using Discord.Py. Then you're ready to start coding, I used cogs for my '/' commands as you have to register them beforehand. One last thing, hosting. You'll need to figure out how you'll be hosting this bot, I personally used Pebble hosting but now I've moved on to my own home server solution, only costing my electricity bill... Regardless self hosting is a reliable method and worked seamlessly with my bot.

Project Reflection

Overall this went amazingly, I still use this same bot a year later, taking it everywhere upgrading it in each of my own personal projects. I'd like to explore using DiscordJs as I've heard from developers it's often more efficient and has more capabilities, but for my own use case this bot does enough.