Build a Bot Framework
Build a Discord/Telegram-style bot framework: event loop + dispatch, command parsing with prefixes/aliases, permission + role checks, rate limiting (token bucket), persistent state, webhooks vs polling, and the architecture behind discord.py, Bolt SDK.
intermediate10 lessons4 chapters10 graded exercisesPython
No sign-up needed for lesson 1 · certificate on completion · sign up to save progress
What you’ll have built
Chapter by chapter. Every step is a graded exercise.
- Bot Architecture
- Commands & Routing
- State & Storage
- Production
Starts in Python — solve in the language you choose in the editor, same tests either way.
Curriculum
4 chapters, 10 lessons. Each lesson is a short read, one graded exercise, and a quiz.
- 1What Bots SolveRead · exercise · quiz
- 2Event Loop & DispatchRead · exercise · quiz
- 3Sending MessagesRead · exercise · quiz
Loading reference solution…