Get Agent Loadout
Build agentsIntermediateDocs-checked, not yet hands-on tested

Discord bot in an afternoon

Build and host an AI-powered Discord bot for your server.

Starter prompt

Create a discord.js bot with slash commands /ask (answers with Claude Haiku 5.5, max 300 tokens) and /help. Add per-user rate limiting, ignore other bots, read secrets from .env, and add a Procfile or start script so it runs on Railway.

Config

.env.example

DISCORD_TOKEN=
ANTHROPIC_API_KEY=
# never commit .env

Setup steps

  1. Create the app in the Discord Developer Portal and copy the token.
  2. Run the prompt in Claude Code.
  3. Test in a private server.
  4. Deploy to Railway with the env vars set.

Why this works

A small, always-on service is exactly what Railway's Hobby plan is for.

Watch out

Rate limit /ask or a busy server will run up your API bill.

Related loadouts

Compare the gear: AI coding agents tier list · AI code review tier list