Inspiration
We were inspired by our passion for learning Spanish and helping Spanish-speakers learn English and wanted to create a discord bot to help others learn too! There are several individual bots out there that share Carmenita's abilities but this means one will have to add roughly 10 bots to achieve this. Our goal with Carmenita is to consolidate the most popular Spanish-English language exchange bot commands and functionality into one bot!
What it does
responds to several commands with the '$' prefix
- $oui <- carmenita sends a link to the oui oui baguette meme
- $alaina <- carmenita sends a link to a popular music video
- $play {song} <- carmenita joins vc finds and plays specified song
- $leave <- carmenita leaves the vc
- $marco <- carmenita says polo
- $read OR $reading OR $lectura <- carmenita sends a small excerpt from an easy to read English text. This can be further specified by adding a " 1" or " 2" after the command.
- $urban <- carmenita explains in English and Spanish that this feature app is not available
How we built it
using the discord API, github, and heroku
Challenges we ran into
many challenges with deploying to Heroku
- Procfile challenges
- worker vs web challenges
- challenges finding compatible APIs
- genius does not give lyrics
- musixmatch only provides 30% lyrics for songs
- the simplest dictionary to implement would have been urban dictionary but it does not align with our goals for the project as much as a resource like SpanishDict would
- web scraping
Accomplishments that we're proud of
- we deployed! (so carmenita can always be online and ready to help anyone who needs it)
- we know how to make a bot!
- used apis for the first time!
- carmenita can play music!
What we learned
- building discord bots are not easy
- some APIs cost a lot of money to use
- deploying to heroku is easy but limiting in many ways
- jquery is often used for web scraping since it can get past the cors error
What's next for Carmenita Discord Bot
- more functionality for the music player, currently we can only stop music and play music. We would like to add (skip song, queue song, pause song, get lyrics of song currently playing, play playlist)
- Spanish to English, English to Spanish dictionary
- ability to send lyrics
- artificially intelligent chat bot! allowing Carmenita to be able to converse with the user in either English or Spanish, exposing the user to new words and new word usages
- have more practice readings available in both English and Spanish at varying levels of difficulty. A command for this might look like "$lectura english beginner" and Carmenita will return an excerpt from a text that is easy to read in English.
- have Carmenita be fully bilingual in English and Spanish. Currently, her only command in Spanish is "lectura". Her only Spanish
- the user types "$pronounce {word}" and carmen returns a pronunciation of the word in English
- the user types "$pronuncia {palabra}" and carmen returns a pronunciation of the word in Spanish
- $bio {country} for a mini bio of countries with Spanish listed as an official language
- $ipa get the IPA (phonetic) transcription of a word in English or Spanish for different accents in each language
Log in or sign up for Devpost to join the conversation.