🎮 Shared stack · Updated 2026-11-23
“A Discord bot with an AI that answers questions about our game, in Python”
The AI and dev tools to build it, why each one fits, rough costs and a starter plan. Remix this idea in the matchmaker →
Discord bot · AI agent
Looks like a Discord bot + AI agent project. Here's your 4-tool party (stack).
Cursor intermediate
You'll write the Discord bot logic with AI help. AI-first code editor. Best all-round pick for writing and fixing real code with AI.
💸 Free tier; Plus $8/mo (Grok models only); Premium $30/mo (third-party models billed at API list price)
discord.py intermediate
The most popular Python library for Discord bots, with slash commands, tasks and embeds.
💸 Free, open source (MIT)
Railway beginner
Bots need to stay online 24/7. Deploy any backend, bot, worker or database from GitHub in minutes. Ideal for always-on Discord bots and APIs.
💸 Free $0 plan for small apps; Hobby $5/mo minimum (includes $5 usage); Pro $20/mo minimum
OpenAI API intermediate
GPT models for chat, tool-calling agents, embeddings and vision.
💸 Pay per use: GPT-6 Luna $0.10/$0.50, GPT-6.2 Sol $2/$10, GPT-6.2 Astra $8/$40 per 1M input/output tokens; small apps often cost a few $/mo
Your first quest (starter plan)
- Create an application and bot token in the Discord Developer Portal and invite the bot to a test server.
- In Cursor, ask for a minimal discord.py bot with one slash command (e.g. /ping), run it locally.
- Wire the bot's command to OpenAI API so it can answer or summarise.
- Deploy to Railway from GitHub, keeping the token in environment variables.
- Share it in 2–3 gaming Discords and collect feedback before adding features.
Rough estimate from each tool's entry plan. Check pricing pages, and note that usage-based APIs vary. Some links may be affiliate links. How we make money.
From the guide: Build a Discord bot for your gaming community with AI
Recommendations come from BuildLobby's rules engine; the same idea gives the same stack in the matchmaker.