Inspiration

Our project, inspired by the theme "uncovering a new leaf" 🍃, presents a Discord bot designed to usher in a fresh approach to studying. Recognizing the challenges that students and learners face in managing their time, sourcing study materials, and retaining information, we have integrated features such as Pomodoro timers, YouTube video audio streaming for educational content, text-to-speech functionality, and reminder systems. By simply using commands prefixed with '!', users can revamp their study habits, and turn over a new leaf in their academic journey 📚.

What it does

The LeafMeAlone bot brings productivity to your Discord server! Features include:

  • Pomodoro Timer: Set study and break intervals to manage your time effectively.
  • YouTube Integration: Uncover a new leaf/YouTube video and summarizes it using the OpenAI API
  • Reminders: Cultivate your memory by sowing tasks and nurturing their growth until the deadline 🍂
  • Fun Greetings: Personalized greetings for specific server members.
  • TTS Encouragement: Uses text-to-speech to motivate users during their study sessions.

How we built it

The bot is developed using the discord.py library with Python. We also leveraged other APIs and libraries such as youtube_dl to fetch and play YouTube audio, YouTubeTranscriptApi to get video transcripts, and OpenAI's GPT-3 for intelligent summarization. The bot also uses pydub and asyncio for audio handling and asynchronous task management, respectively.

Challenges we ran into

  • Asynchronous Programming: Ensuring tasks run smoothly without blocking other operations was a learning curve.
  • YouTube Integration: Navigating the YouTube APIs and understanding the best way to fetch and play video content provided its own set of challenges.

Accomplishments that we're proud of

  • Intuitive User Experience: We managed to design a bot interface that is easy for users to understand and engage with, even for those unfamiliar with productivity techniques.
  • Seamless Integration: Our integration with YouTube is smooth, allowing users to play and summarize videos without leaving their Discord environment.
  • Adaptability: The bot can serve a wide range of users, from students preparing for exams to professionals wanting to manage their time better during work hours.
  • Performance: Despite the various features and integrations, the bot's response time is swift, ensuring minimal disruption to users' workflow.

What we learned

  • Asynchronous Programming: The importance of non-blocking operations in a bot environment, and how to effectively manage multiple tasks using asyncio.
  • API Interactions: Deepened our understanding of how to interact with APIs, handle potential errors, and optimize requests.
  • User-Centric Design: Through user feedback and testing, we grasped the importance of intuitive design and how small UX tweaks can greatly impact user satisfaction.

What's next for LeafMeAlone

  • Extended Platform Integration: We're looking into integrating with platforms like Spotify and SoundCloud to expand our audio playback features.
  • Advanced Summarization: With advancements in NLP and AI, we aim to implement more sophisticated summarization techniques for longer videos or podcasts.
  • Gamification: Introducing points, rewards, and competitive elements to make the productivity experience more engaging and motivating.
  • Customization: Allowing users to further customize their study intervals, reminder tones, and greeting messages for a more personalized experience.

Please see README in linked github repo for instructions and more information.

Built With

Share this project:

Updates