Inspiration
We got inspired by the offset English language used by different authors and fictional characters to convey same conventional meaning as a sentence would give.
What it does
It's a discord bot named Duel that runs a quiz which we call a duel and the users have to give answers as true or false for the given statement(s). Also user can generate any English sentence to offset English used by Shakespeare, Yoda or Pirates
How we built it
We used discord.js to create the bot. We used apis from funtranslate for the translations.
Challenges we ran into
We ran into several errors while matching the user who challenges to the user who is being challenged. We also wanted to store everything on cockroachdb but ran into several errors including connectivity. Initially we had also planned to include the whimsical translations into the quiz but since we are using funtranslations api which limits us to 5 requests per hour that was hindering with the quiz. So we decided to not include that.
Accomplishments that we're proud of
We got the quiz part of the bot to work as well as the translations.
What we learned
We learned how to develop a discord bot and deploy it on Linode and how to integrate APIs for desired output.
What's next for Duel
We will work on storing the data on CockroachDB. Currently we are able to query the databse but the callback hinders in the normal functionality of the bot. Also right now we have configured the bot to perform different functions inside different channels on our sever, we would also like to make this more dynamic so that the user can change these channels.
Built With
- cockroachdb
- discod.js
- discord
- javascript
- linode
- node.js
- postgresql

Log in or sign up for Devpost to join the conversation.