🎮 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).

Start~$6/moGrowing~$70/mo
Post on 𝕏
AI coding tool

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)

Bot library

discord.py intermediate

The most popular Python library for Discord bots, with slash commands, tasks and embeds.

💸 Free, open source (MIT)

Backend / bot hosting

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

AI model API

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)

  1. Create an application and bot token in the Discord Developer Portal and invite the bot to a test server.
  2. In Cursor, ask for a minimal discord.py bot with one slash command (e.g. /ping), run it locally.
  3. Wire the bot's command to OpenAI API so it can answer or summarise.
  4. Deploy to Railway from GitHub, keeping the token in environment variables.
  5. 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.