Training Bot
An AI-powered strategy assistant and live stats lookup for Territorial.io. Ask strategy questions, look up player and clan stats, and define game terms — all from Discord. Runs entirely on Cloudflare.
Features
Strategy knowledge and live stats, right in Discord.
AI Strategy Q&A
Ask any Territorial.io strategy or mechanics question in plain English and get a fast, grounded answer.
Curated Knowledge Base
Answers are backed by a hand-curated Territorial.io strategy knowledge base, not generic AI responses.
Built on Cloudflare
Runs entirely on Cloudflare Workers and Workers AI — low latency, globally distributed, no dedicated server required.
Live Game Stats
Look up real-time Territorial.io stats: player profiles, clan rankings, leaderboards, 1v1 history, and recent game results.
Term Lookup
Instantly get plain-English explanations of Territorial.io terms, mechanics, and community jargon.
Cited Answers
Strategy answers from /ask include source references from the knowledge base so you know where the info comes from.
Commands
Five commands, each with a clear purpose.
/ask <question> Everyone Ask any Territorial.io strategy or mechanics question. The bot retrieves relevant knowledge base entries and generates a cited answer.
/ask What is the best opening strategy for small maps? /stats <query> Everyone Look up live Territorial.io game data — player profiles, clan rankings, leaderboards, 1v1 results, and recent games.
/stats [CORGI] clan /term <name> Everyone Get a plain-English explanation of a Territorial.io term, mechanic, or piece of community jargon.
/term boating /sources <query> Everyone Show the raw knowledge-base entries that match a query. Useful for seeing exactly what the bot knows about a topic.
/sources micro techniques /authorise [enabled] Admin Authorize or deauthorize this bot in the current server. Pass enabled=true to turn on, false to turn off. No argument shows current status.
/authorise enabled:true How It Works
RAG in three steps.
You ask a question
Type /ask followed by any Territorial.io strategy question in Discord.
Relevant knowledge is retrieved
The bot vector-searches a curated Territorial.io knowledge base (Cloudflare Vectorize) for the most relevant entries.
AI generates a cited answer
Cloudflare Workers AI generates a concise answer grounded in the retrieved context, with source references included.