Inspiration

We wanted a way to integrate learning into everyday life in an online community, alongside casual little ways to build camaraderie.

What it does

This bot stores term-definition pairs in virtual sets of flashcards. Users can quiz themselves with a command that goes through all of the terms in a set at random. It also lets users add compliments to the jar and retrieve one at random.

How we built it

This bot was built with discord.py and TinyDB.

Challenges we ran into

The initial discord.py learning curve and some randomized things mysteriously not being random.

Accomplishments that we're proud of

For one of us, this was a throwback to a high school hobby, but after Discord had greatly expanded and changed several functionalities. For the other two, it was completely new, and we learned how to use the Discord API and discord.py from scratch. While the learning curve of the first evening was tough, once we got the hang of it, it was a lot of fun!

What we learned

How to use discord.py and the Discord API; generally, how to navigate and interact with a website's API.

What's next for a guy

Improvements to the study commands would include ways to edit, delete, and merge sets and flashcards. The bot is intended for a group, but might also have more personalized features, like allowing users to "flag" certain cards so the bot prioritizes them when that user calls $quiz_me.

Built With

  • discord
  • discord.py
  • tinydb
Share this project:

Updates