Inspiration

The idea for this bot started out as a need. I've recently made a community discord server about game dev. There were way too many bots than I liked in the server to do different tasks. So I've been wanting to make a bot that can handle all the things that 10 different bots do. There were good options like mee6, carl.gg etc, but they still didn't do everything I wanted them to do - such as translation, ability to play games with members etc.. That's how GDBot was born during this Patriothacks.

What it does

As of now it translates words, sentences and paragraphs from the source language to the specified language. It, however, does not yet detect the language which the text is in and needs to be inputted by the user. Also sends random inspirational quotes when asked for, and sends welcome messages whenever a new member joins the server

How I built it

I built it using pyhton and the discord.py API. I used repl.it to code and host it temporarily when testing. I also used the Deep translation API for translations (which I intend to change in the near future) and a free quotes API /library called zenquotes.io for generating random inspirational quotes. I finally hosted it on Heroku (so the bot runs constantly) with quite a bit of struggle

Challenges I ran into

First and foremost, procrastination. Apart from that, I knew nothing about discord bots to begin with, or python, or API's, or hosting. It definitely was a learning curve and I had to spend a lot of time surfing stack overflow, google and whatnot. However my biggest challenge was probably hosting it on Heroku. I didn't know the files that were required to build and deploy the bot and had to read through it's documentation to learn more

Accomplishments that I'm proud of

Even though it really isn't much, I'm happy that I was able to make a translating bot. Apart from that I'm really glad I was able to learn so much in such a little time (I just started 4 days ago). I was really happy when I was finally able to host the bot on heroku after a lot of build failures

What I learned

I now know what API's are and how to use them. I also got comfortable with discord bots and in making one. Also got a hang of the discord.py api, and got a general idea of cloud hosting. Most importantly I got comfortable with github (a skill I'm sure will come in handy later on)

What's next for GDBot

GDBot is far from what I want it to be. I've really done nothing yet if I'm being honest with myself. I plan on making this an all-in-one bot and add features that will help the GDB server and make my life easier. These include moderation comands, logs, server stats. , emoji role reactions, memes command, play music, a counting channel setup, mini games etc. Whew, that's a lot. I better get to work.

Where you can try it out

You can check out the bot on the github repo (probably will make this private later) or on the game devs basement server

Built With

Share this project:

Updates