Trivia Night Bot
Runs a whole quiz night in a chat channel, scoring as it goes.
What you're making
Starts a quiz in any group chat: posts a question, gives everyone a countdown to answer privately, then reveals who got it and updates the leaderboard. It handles the whole evening by itself — rounds, scores, tie-breaks — so whoever normally organises it can actually play for once.
A chat bot running timed quiz rounds with private answers, live scoring and a persistent leaderboard. Collecting answers without letting players see each other's is the mechanic everything else rests on.
Hosting · Free tier, metered
Deploys free on Cloudflare Workers, Fly.io or Railway.
A personal bot sits well inside free tiers, but it does need somewhere always-on to receive events.
Invite it to a server; free hosting tiers cover a personal bot.
Core features · 7
- Posts questions to a channel with a countdown
- Collects answers privately so nobody can copy
- Reveals answers and awards points automatically
- Maintains a leaderboard across rounds
- Handles ties with a sudden-death question
- Supports several question packs
- Recovers gracefully if it restarts mid-game
The interesting part
- Private answer collection while the game runs in public
- Scoring fairly when replies arrive at different latencies
- Surviving a restart without losing the game in progress
Once it works
- Add team mode
- Let players submit their own questions
- Add a season-long league table