LiveBackend

2026 · Discord

Discord Study Helper Bot

Python · Discord bot

A Discord bot that turns any YouTube playlist into a daily course — one video a day, a Gemini quiz from the transcript to unlock the next one, and progress saved in SQLite.

Pythondiscord.pyGeminiYouTube APISQLite
Discord Study Helper Bot cover

About this project

A Discord bot for self-learners. Run /start_course with a public YouTube playlist and the bot becomes a daily teacher: it sends one video a day, asks a question about it and only unlocks the next lesson after a correct answer.

The bot reads the playlist with the YouTube Data API, gets each video's transcript and asks Gemini to write a three-option multiple-choice question from it. When a transcript isn't available, a "watched" button keeps the course moving. Each learner's playlist and position are stored in SQLite, and a scheduled task sends the next lesson every day at 10:00 UTC.

What I did:

  • /start_course slash command with discord.py
  • Daily lessons with a scheduled task
  • Gemini quizzes generated from video transcripts
  • Interactive answer buttons and a "watched" fallback
  • Learner progress in SQLite

WHAT I BUILT

Key features

Daily course

One video a day from any public YouTube playlist.

Slash command

/start_course reads the playlist and sends the first lesson at once.

AI quizzes

Gemini writes a three-option question from each video's transcript.

IN THE PRODUCT

A closer look

Discord Study Helper — How it works
How it works
Discord Study Helper — Slash command
Slash command
Discord Study Helper — Gemini quiz
Gemini quiz
All articles
NEXT PROJECTLogistics & Shipping App