Inspiration

As the world progresses, so do the methods of communicating. However, the language barrier is a large problem that many face in their attempt at communication. In recent years, Discord has become one of the largest apps for conversation in the world, and is still continuously growing. Many people aren't able to communicate because of a language barrier, especially on Discord. That's why we wanted to make a discord bot that allowed people to communicate to each other in the same language, with a simple letter.

What it does

In the server, if a "~" is used to preface the message, followed by the abbreviation for the target-language and the inputted language. There should be one space in between those plus a / and another space, followed by the sentence that should be translated. (ie. ~ es en / Good Morning!). By getting a role from which country you are, you can talk to others by pinging them, which causes the bot to translate for you to their desired language. This would be done with the symbol, "" followed by the symbol - replacing the slash. (ie. @User - Good Afternoon!).

How we built it

We built it on Replit, using Python, translator APIs, and learning from stack.

Challenges we ran into

We ran some difficulty with the API, as it was our first time integrating one into our code. We also had some trouble working out the if statement.

Accomplishments that we're proud of

We are proud of coding this Discord bot without any prior experience and our efficient use of the API.

What we learned

We learned more about API integration in Python as well as how Discord bots are coded.

What's next for Discord translator bot

We are looking to add text to speech functionality for the translator bot, so that whatever is translated can be spoken to other users.

Built With

Share this project:

Updates