Logo Lanfrica

MFOF7310/neo-bot

Record type:

software
Creator:
MFO
Host:
Feature: AfriQuizA bilingual (FR/EN) Africa-themed trivia game for Discord communities. πŸ¦… NEO Bot β€” AfriQuiz A bilingual (FR/EN) Africa-themed trivia bot for Discord, built with Discord.js v14. Un bot Discord de quiz bilingue (FR/EN) sur l'Afrique, construit avec Discord.js v14. --- πŸ‡¬πŸ‡§ English Features - `/quiz [categorie]` β€” random question, 4 answer buttons, 30-second timer, auto-expire - `/quiz-daily` β€” one bonus question per user per day, double points - `/quiz-streak` β€” current streak, personal best, server rank - `/quiz-leaderboard` β€” server top 10 as a generated image card (dark/gold style) - `/quiz-stats` β€” games played, correct answers, accuracy %, best category - `/neo-lang set fr|en` β€” set the server language (admins only, default: FR) - `/play` β€” launch the AfriQuiz Activity right from a text channel (LAUNCH_ACTIVITY callback, no voice channel needed) Points: Easy 5 β€’ Medium 10 β€’ Hard 20 β€’ Daily Γ—2 β€’ Answer in under 5 s β†’ +3 speed bonus Categories: 🌍 Geography β€’ πŸ“œ History β€’ πŸ—£οΈ Languages β€’ 🎡 Music β€’ πŸ† Sports β€’ 🌱 Nature The question bank ships with 200 fully bilingual questions (70 easy, 92 medium, 38 hard), including Mali specials (Mansa Musa, Timbuktu, Bambara…), West Africa, pan-African history, Afrobeats and AFCON. Setup ```bash git clone github.com cd neo-bot npm install cp config.env.example .env # fill in DISCORD_TOKEN + CLIENT_ID npm run seed # only if data/afriquiz.sqlite is missing npm start ``` Discord Developer Portal 1. Create an application at <> 2. Bot tab β†’ copy the token into `.env` (`DISCORD_TOKEN`) 3. General Information β†’ copy the Application ID (`CLIENT_ID`) 4. Invite URL (OAuth2 β†’ URL Generator, scopes `bot` + `applications.commands`, permission `Send Messages`): ``` discord.com ``` Commands are registered automatically at boot. Set `GUILD_ID` in `.env` during development for instant registration; leave it empty for global registration (can take up to 1 h to p …