How to Train an AI Ticket Bot for Discord (Step by Step)
How to teach a Discord AI ticket bot your own rules: what to train first, how to write facts it actually uses, and how to fix a wrong answer.
Dani, Founder, AI Ticket Bot
11 min readUpdated
Most "AI support" tools ask you to write a system prompt, maintain a knowledge base, or wire up an integration before they answer anything useful. That work never really ends, and it is why a lot of AI support projects quietly get abandoned.
This guide covers the other approach: teaching the bot the way you would brief a new staff member.
What "training" actually means here
Worth clearing up first, because "training" means different things in different products.
You are not fine-tuning a model, and you are not editing a prompt. Every server on AI Ticket Bot gets its own AI brain. When you train it, your input gets reorganised into a structured entry the brain can pull from later. On the next ticket, the AI reads the conversation plus the relevant entries and answers from them.
That per-server design is the whole point. Your brain holds your rules, your refund window, your event dates. Another server's brain holds theirs. There is no shared FAQ pool, and nothing you teach leaks anywhere else.
Staff teach it
Someone runs
/ai trainin Discord, or uses Train mode in the dashboard AI workspaceIt gets rewritten
The wording becomes a structured entry, and the message your staff typed is not kept
It gets checked against what is known
A near-duplicate updates the existing entry instead of adding a second copy of the same answer
Contradictions get settled
A newer fact supersedes the one it replaces, so two answers to the same question never both survive
Instructions are kept apart from facts
"Always ask for an order number first" becomes a standing rule it follows every turn, while your refund window is a fact it looks up when asked
The next ticket uses it
Memory is per server, so what one community teaches never reaches another
Two consequences are worth spelling out. Long documents keep their shape, so a handbook is stored in sections and a refund question reads the refund part rather than the whole book. And memory is kept in one language while answers are not: a policy your staff taught in English is found by a member asking in Portuguese, and the reply comes back in Portuguese.
That last point is unusual and it matters for privacy too: your raw wording is discarded, so the AI never quotes your training message back at a member verbatim.
Who can train the AI
Two groups:
- Server admins, always.
- Any staff role you give the Teach the AI permission, with
/staff roles. This lets your senior support people teach the bot without handing them full admin.
Asking the AI a question and teaching it are two separate permissions, which is the distinction worth making deliberately: a lot of people should be able to ask, and very few should be able to change what it tells everyone.
That permission is enforced on the bot side every single time, including when training is started from the dashboard. There is no path where someone trains your brain because a web page let them through.
Step 1: train your ten most-asked questions
Resist the urge to dump everything on day one. The fastest path to a bot that feels useful is narrow and specific.
Open your ticket transcripts, or just ask your staff what they are tired of typing. You are looking for the questions asked weekly, where the answer is stable and factual. For most communities that list looks like:
The first ten facts
- Refund, warranty or purchase terms
- Support hours and expected response times
- How to claim a role, reward or purchase
- The rule people break most often, and what happens when they do
- Where the download, invite or store link actually is
- Known scams circulating in your community
- What you explicitly do NOT offer, which is the one people forget to train
Ten precise facts outperform a hundred vague ones. A brain full of hedged, general statements produces hedged, general answers.
Step 2: run the command
In Discord:
/ai train message: Our refund window is 14 days from purchase, not 30. Refunds go to the original payment method and take 3 to 5 business days.
That is the entire workflow. No prompt engineering, no template to fill in, no file format to match.
You have three ways to get knowledge in:
What a training input accepts
- Plain text
- Type the fact directly. Fastest, cheapest, and you phrase it exactly as you want it applied
- A link
- Not one page. It looks for the site's sitemap, falls back to the links on the page, then reads the main content of the pages worth reading, skipping nav, footers and ads
- Files, per message
- Up to 10 files, 20MB in total
- Text, markdown, CSV, JSON
- Up to 512KB each, read in chunks
- Up to 16MB, sent as the file rather than copy-pasted
- Word documents
- Up to 8MB
- Images
- Up to 5MB, read for the facts inside them
Two things about files are worth knowing because they are unusual. Train mode force-ingests: every document you send becomes a real ingestion job regardless of size, so the bot cannot tell you it learned something it never stored. And a big source is not rejected for being big: ingestion runs against your token budget, stops cleanly when the budget is spent, and picks up where it left off when you send the same file again. Never shrink a file to make it fit.
Prefer plain text for anything short. It is faster, it costs fewer tokens, and you get to phrase the fact exactly as you want it applied.
Training from the dashboard instead
If you would rather not do it in Discord, the dashboard has an AI workspace with a chat you can flip into Train mode. Same brain, same result, just a bigger typing box and a place to see everything at once. It is genuinely nicer for a long first session where you are adding twenty facts back to back.
The workspace also has a Jobs tab showing the history of every training run, including how many entries each one created or updated and what it cost. Handy for spotting the one import that went sideways. Starting a job stays with Discord and chat-train; the Jobs tab is a record, not a launcher.
Step 3: write facts the AI can actually use
This is where most of the quality comes from, and it takes about thirty seconds to learn.
"Our refund window is 14 days from purchase. After 14 days we do not refund"
Specific, includes the number, and states the negative case too
"We have a refund policy"
Nothing here is answerable. The bot hedges or escalates
"Rule 3 bans harassment. First offence is a 24 hour mute, second is a permanent ban"
The member gets the actual consequence, not a pointer to a channel
"Be nice in chat"
True and useless
"Support hours are 9 to 5 UTC, Monday to Friday. Tickets outside those hours get answered the next working day"
Sets an expectation, which prevents the follow-up ticket
"Support is usually around"
Produces exactly as vague an answer as it was given
Three rules of thumb:
- Be specific and include the numbers. "14 days" is usable. "A couple of weeks" is not.
- State the negative too. "We do not offer refunds on sale items" prevents a confidently wrong answer far more reliably than any amount of positive information.
- One topic per fact. Cramming refunds, shipping and support hours into one paragraph produces an entry that half-matches three different questions.
Step 4: test before you trust it
Do not wait for a real member to find the gap.
- /ai ask
- Ask the bot a question directly, exactly as a member would phrase it
- /ai memory
- Browse every entry the brain holds, with search and type filters
- /ai usage
- See where your token budget is actually going
- /ai settings
- Toggle web search and the other per-server AI options
- /ai reset
- Wipe every entry and training job behind a two-step confirm, if the brain gets genuinely messy
Phrase your test questions the way members actually type them, typos and all, not the way you wrote the training fact. That is the difference between testing your brain and testing your own memory.
Step 5: check and correct what it learned
Brains drift. Your prices change, an event ends, someone trains something sloppy at 2am.
Use /ai memory in Discord, or the Memory tab in the dashboard, to browse every entry the brain holds. You can search and filter, and each entry gives you two options:
- Suggest an update in plain English. Describe the change ("the refund window is 30 days now, not 14") and the AI applies it, updating or superseding the old entry.
- Delete it. For anything that is simply wrong or no longer relevant.
Training a corrected fact works too, since a newer fact supersedes an older one on the same topic.
A good habit: re-check memory whenever your prices, staff or rules change. It takes two minutes, and it is the difference between an AI that sounds authoritative and one that is.
What it costs to train
Training spends AI tokens from the same daily and monthly budget your tickets use, because your input is processed once as it goes in. Two things worth knowing:
- It is a one-time cost per fact, not a recurring one. A stored entry does not cost you anything to keep.
- Files and URLs cost more than a typed sentence, because there is more content to process. A 20-page PDF is not free.
The free plan includes a daily token allowance, which is enough to train a real brain and watch it answer real tickets before you pay anything. If you hit a cap, the AI stops cleanly and tickets keep working by hand, with no overage charges. Publishing your first panel also starts 14 days of Premium, which raises the budget while you do the bulk of your first training session, and takes no payment method at any point.
You can check where you stand any time with /ai usage.
What the AI will not learn on its own
Stated plainly, because the limits are the part people find out the hard way:
What it does
- Learns what your staff teach it, in plain language
- Reads a channel a member points at, from that member's own permission view
- Searches the live web when the answer is outside your server entirely
- Keeps memory per server, in one language, answering in the member's
What it does not
- Does not silently read your server in the background
- Does not build a profile of individual members across their tickets
- Has no live connector to Notion, Confluence or Drive
- Has no scheduled re-crawl. Re-running an ingest is a manual step
- Does not read code repositories or video transcripts
The web search is deliberately the last resort rather than the first. Anything about your own products, prices, policies or procedures has to come from what your server taught it, because a search engine does not know your refund window. Searching covers what memory cannot contain: whether a platform is down right now, what changed in an update last week. It is on by default, an admin can switch it off for the whole server, and each search draws on the same token budget, so it shows up in your usage rather than as a surprise.
Capacity is generous rather than infinite. Each server gets its own allowance of stored entries, each of which can be a full structured document rather than a single line, and the allowance is adjustable. In practice your daily token budget is the limit worth watching, not how much the bot is allowed to remember.
A realistic first session
Add the bot and let the brain provision
A minute, and nothing to configure
Train your ten most-asked answers
One
/ai trainper factAdd the three things you do NOT offer
The step everyone skips, and the one that prevents confident wrong answers
Test all thirteen with
/ai askPhrased the way a member would, typos included
Fix anything wrong via the Memory tab
Suggest an update in plain English, or delete the entry
Publish a panel and point one category at the AI
Watch it for a week. This also starts your 14-day Premium trial
Then check how many tickets closed without a human. Roughly half of all tickets across the bot's lifetime have been resolved by the AI with no one stepping in, out of more than 180,000, and a well-trained brain is most of why.
Expand panel by panel from there. Every fact you add is one fewer question your staff answer twice.
Sources and further reading
Keep reading
What the loop actually looks like
One fact, from typed to answered. These are the real surfaces, not concept art.
Teach it
State the fact the way you would tell a new staff member. No prompt, no template, no file format.
AskTrainOur refund window is 14 days from purchase, not 30. Refunds go back to the original payment method and take 3 to 5 business days.
Saved.
Memory updatedTell the AI what to learn. It will create or update memories as needed.
AttachSend- Train mode lets the AI write to its own memory.
- Plain language is the whole interface.
Check what it learned
Every fact becomes an entry you can read, search, correct, or delete. Nothing is hidden in a prompt you cannot see.
Refund window
policyRefunds are available within 14 days of purchase. After 14 days no refund is issued. Refunds return to the original payment method and settle in 3 to 5 business days.
Suggest updateDelete- Describe a change in plain English and the AI applies it.
- Your raw wording is never stored.
It answers with it
The next member who asks gets the fact you taught, phrased for the question they actually asked.
#ticket-4419kaylaToday at 14:02hey can i still get a refund? i bought it like 3 weeks ago
AI Ticket BotAPPToday at 14:02Our refund window is 14 days from purchase, so a purchase from about 3 weeks ago is outside it and I cannot issue a refund. If you think the charge was wrong or something went wrong with the order, say so here and I will bring in a staff member to take a look.
- Answers in seconds, before staff are even pinged.
- Same fact, phrased for the question asked.
Frequently asked questions
You state facts in plain language. With AI Ticket Bot you run /ai train in Discord, or use Train mode in the dashboard AI workspace, and type something like "our refund window is 14 days, not 30". The bot rewrites that into a structured entry and uses it on the very next ticket. You can also paste a URL, which it crawls through the site's sitemap rather than reading one page, or attach files.
No. There are no prompts, templates or config files to write. You state facts the way you would explain them to a new staff member, and the bot handles turning that into something the AI can use. If a fact changes later, you state the new version and the newer fact supersedes the old one.
Server admins can always train. You can also give any staff role the Teach the AI permission with /staff roles, which lets senior support staff teach the bot without giving them full admin. Asking the AI a question is a separate permission from teaching it, so you can hand out one without the other. Either way the check runs on the bot side every time, so it holds even when training is started from the dashboard.
Start with the ten questions your staff answer most often, then add anything where a wrong answer would cost you: refund and warranty terms, support hours, how to claim roles or rewards, known scams in your community, and the things you explicitly do not offer. Ten good facts beat a hundred vague ones.
Look at what it learned with /ai memory in Discord or the Memory tab in the dashboard, then either describe the correction in plain English and let the AI apply it, or delete the entry outright. Training a corrected fact also works, since a newer fact supersedes an older one on the same topic.
Training uses AI tokens from the same daily and monthly budget your tickets use, because your input is processed once when it is stored. It is a small one-time cost per fact rather than an ongoing one, and the free plan includes a daily token allowance, so you can train and test a real brain without paying anything.
Up to 10 files per message, 20MB in total, in train mode. Text, markdown, CSV and JSON up to 512KB each, PDFs up to 16MB, Word documents up to 8MB and images up to 5MB. A large file is not rejected for being large: ingestion runs against your token budget, stops cleanly when the budget is spent, and resumes where it left off when you send the same file again.
It’s not just an AI, it’s your AI.
See it on your own server.
Add the bot free, teach it a few of your most common answers, and watch it clear the repeat tickets on its own.
Free plan, no card. Your first panel starts 14 days of Premium.
Keep reading.
All articlesHow to Open a Ticket in Discord (and What Decides If It Opens)
Members open a ticket by pressing a button on a panel. Behind that press sit five steps in a fixed order, and five routes in that do not all pass them.
9 min read
Discord Ticket Panel Design: What You Can Change, and What Discord Decides
The ticket panel is designable on every plan. What you can change, the two layouts, how members pick a category, and the rules Discord imposes on all of it.
9 min read
Discord Ticket Channel Names: The Template and What Discord Does to It
Ticket channels are named from a template on the panel, using three variables. What you can put in it, what Discord rewrites, and why a name changes on its own.
9 min read