Creating my very own Discord Bot
I have been using Discord for a few years now and I’ve always been sorta interested in writing a chat bot for the service. Fast forward to a few weeks ago. I was playing some games with my friends when one of them started making a joke where he would exit the voice channel, only to rejoin after a few seconds declaring he had been “mentally reset”.
This sparked an idea. What if there was a Discord bot that would “reset” users that were starting to become frustrated with the game. So I created RaptorBot (named after my Gamertag/Twitter Handle), a Discord chat-bot made to combat frustration in competitive games. Simply give the command, and the bot will “reset” the user by temporarily removing them from the voice channel for a few seconds, giving them a few seconds of peace and quiet.
The current version is very simple, but I plan to expand the bot soon including features such as
– Playing calming music/sounds
– A feature that allows team captains, coaches or “In-Game Leaders” to reset others.
– Customization and multiple servers.
– Hosting the bot somewhere more permanent
You can find the custom code I wrote on my GitHub. (Note; you will need to install the Discord.js Node Package)