What Modmoth reads, keeps and sends
This describes what the code does today. If the code changes, this page has to change with it. In Discord the bot is listed as "Warden" for now, and its commands start with /modmoth.
What it reads
- Messages that ping Modmoth or reply to it, in servers where it is activated.
- If the server's staff switched these on: messages containing a wake word they chose, messages with a question mark in channels they set to auto-answer, and messages that start one of their own quick commands.
- Crash logs and game logs posted in those servers (files, pasted text, mclo.gs and pastebin links), if automatic crash replies are on.
- Nothing in DMs. Nothing from bots or webhooks. Nothing in channels staff told it to ignore.
- On its own it does not read or keep the rest of the chat. Discord delivers other messages to every bot with this permission; Modmoth looks only at whether a message pings it or carries a log, and drops everything else without storing it.
- The one exception is a connected AI app with access to Discord itself: see the next section.
- If staff switched on the trap channel (see "The trap channel"): for a message posted in that one channel, who posted it and where. The text of such a message is not read, kept or sent anywhere.
When staff connect an AI app
- A staff member with Manage Server can connect an AI app (such as Claude or ChatGPT) at
/mcp. By default the app can only see and change the bot's own settings, knowledge and saved answers. - The app can also read the usage guard's numbers: per member id, how many answers they got, their share of the AI use, repeats, and pauses. Numbers and ids only, never message text, and it cannot change them.
- Where a server's owner or administrators switch it on, a connected AI app can also change all of the bot's settings there, set up the trap channel (switching it on or making it harder still waits for that person's own click) and pause or unpause the bot's answers to a member.
- The app can also list what was done through AI apps on the server: when, which kind of action, by which staff member, and the ids of the channel, role, message or member it touched. No message text and no names.
- If that person also ticks "Also act in Discord itself", their app can read and search messages in the channels that person can see themselves, including channels set to silent, and post as the bot and make threads where that person may. Deleting messages needs a second, separate tick and that person's own Manage Messages permission.
- Posts made this way can carry embeds and link buttons, each showing the site it leads to; invitations to other servers are refused. The app can add and remove the bot's own reactions. Publishing an announcement to the servers that follow a channel waits for that person's own click on the website.
- The message text the app asks to read or search is sent to that AI app, at that person's direction. Modmoth passes it on and does not keep it: it is not written to disk, to logs or to the activity record. Modmoth records only that something was done: which tool, which channel, how many messages.
- What the AI app does with that text is under that app's own terms, not Modmoth's.
- Modmoth does not use message content to train AI models, and does not sell it or share it with advertisers.
- Each post made this way ends with a line naming the staff member it was posted for.
- With the build or moderate box ticked (pilot), the member list the app asks for (ids, names, roles, join dates and whether someone is timed out) is sent to that AI app, at that person's direction.
- If your server uses an AI app this way, we suggest telling your members.
What it keeps (on the host, per server)
- What staff gave it: the instructions text, links, uploaded files as searchable text, the mod list.
- What staff set for answering: the scope text, if they limited the bot to certain topics, and the list of words and topics they do not allow. Members are never shown that list.
- A record of each answer: time, channel id, message id, member id, the kind of answer, which sources were used, and the cost. Not the text of the question or the answer.
- With each record, a topic label: two to five plain words the AI writes for what was asked (for example "memory settings"), whether it judged the server's files to cover it, the pack version, and for crash logs a cause label built by code (for example "out of memory"). Labels are cut down by code to lowercase words, so names, ids and links cannot be kept in them. The weekly report for staff is made from these labels and counts.
- Answers staff choose to save (
/modmoth teach, the "Save as answer" menu, or the website): the question and answer text staff typed or confirmed, the date, the pack version, and the id of the staff member. A member's message is kept this way only if staff pick it and confirm it. - A daily count of answers per member id (reset each day), and monthly spend totals.
- For the usage guard, per member id and day: how much of the daily budget was used (counts, lengths and totals, never text), strikes and pauses. To spot repeated questions it keeps a scrambled fingerprint of a question for up to 6 hours; it cannot be turned back into the message. Staff can shorten that time or switch it off (
/modmoth guard). - Web search is off unless a server's staff switch it on. Where it is on, the AI may look something up on the web to answer a question: the search words it writes go to the AI provider's web search, and the pages it used are listed under the answer. Nothing about the search is kept beyond a count.
- Access codes are kept only as fingerprints, not as readable codes.
- If a staff member connects an AI app (such as Claude or ChatGPT) to manage the bot: their Discord user id and display name, the app's name, the servers and the level of access they chose, the dates of connecting and last use, and fingerprints of the access tokens (never the tokens themselves). This is kept until they disconnect the app at
/mcp/connections. - Private messages: Modmoth sends one in a single case. When an action of a staff member's own AI app is waiting for their approval, that staff member gets one private message when the wait starts and at most one reminder about 3 minutes before it runs out (never more than 6 an hour per person). The text is fixed: the approval sentence, when it runs out, and a link to the approval page. No member names, no message text, nothing written by the AI app. It is on by default; a server's owner or administrators can switch it off on the AI apps page. If the person's private messages are closed, nothing is sent. Members are never messaged.
- If the trap channel is on: for each catch, the account's id, what was done (time-out, kick or ban), how many messages were removed, and the time. This goes into the server's activity record, and as one line into the staff log channel if staff chose one, where it stays until staff delete it. Never the text of a message. Who changed the trap's settings, and when, is recorded too.
- If a staff member signs in to the dashboard with Discord: their Discord user id and display name, when they signed in and were last there, when the sign-in ends, and which activated servers they manage as last checked. The browser's cookie itself is not kept, only a fingerprint of it. No Discord token is kept: it is used once at sign-in to read which servers the person manages, then thrown away. A sign-in ends after 30 days, after 7 days without a visit, or at once when the person signs out. Their permissions are checked again every five minutes through the bot.
What it remembers only for a moment
- To follow a conversation, the bot keeps the last three questions and its answers per member and channel for 15 minutes, in the running program's memory only. It is never written to disk and is gone when the bot restarts. A server's staff can change the 15 minutes to anything from 0 (no follow-up memory at all) to 60.
What it sends to the AI service (Anthropic, or OpenAI if configured)
- The question text, the message it replies to (if any), and the asker's display name. The bot answers ordinary questions on any subject, not only questions about the server, unless staff limited it.
- The server's instructions, its scope text and its list of words not allowed, as part of the rules the AI is given. A question that contains a word on that list is refused by code and is not sent.
- Matching excerpts from the server's own uploaded files and links, and matching saved staff answers.
- The last few exchanges with the same member in that channel (see above), so a follow-up makes sense.
- For crash logs: facts pulled out by code (error, stack trace, versions, memory, mod names). Before that, login tokens, player names, Windows user names, network addresses and email addresses are removed by code. The removal is pattern-based and can miss unusual formats.
- The AI service handles this under its own API data policy.
What it cannot do
- By itself it only reads and replies, with one exception that is off until a server's staff switch it on: the trap channel, described below. Its standard invite asks for no moderation powers: View Channels, Send Messages, Send Messages in Threads, Read Message History, and Change Nickname (only its own name, so a server can rename it).
- The AI that writes the bot's answers has no tools. It cannot act on Discord or on the host.
- A connected AI app (see "When staff connect an AI app") is different: it acts through a fixed list of tools, only as far as the staff member who connected it allowed and is allowed in Discord themselves. Deleting, making threads and changing the server icon also need the server to have given the bot that permission in Discord; the standard invite does not include them.
- Building the server (channels, roles, permissions) and moderating members (time out, kick, ban) through an AI app happen only where the staff member who connected it ticked the box for that, and only as far as that person may do it in Discord themselves. Deleting a channel or role, a kick and a ban each wait for that person's own click on the website. Building also covers the server's name and description, the welcome screen, switching onboarding on or off, forum settings and scheduled events; deleting an event waits for that person's own click. These two are in a pilot on one server for now; elsewhere the boxes are not shown and the tools do not exist.
The trap channel
- Off unless staff switch it on (
/modmoth honeypotor the website). Staff choose one channel that nobody real has a reason to write in. An account that posts there has that message deleted and is timed out, kicked or banned, as staff chose; its other recent messages in the text channels can be removed too. - The only trigger is where a message was posted. What it says never matters, the AI is not involved, and a connected AI app cannot set the trap off.
- Never acted on: the server's owner, staff (Administrator, Manage Server, Manage Messages or Moderate Members), anyone at or above the bot's own highest role, roles staff listed as exempt, and other bots and webhooks unless staff chose to include them.
- It needs Discord permissions the standard invite does not include (Manage Messages, and Moderate Members, Kick Members or Ban Members for the chosen action). Staff grant them by hand, and a staff member can only set up an action they are allowed to do themselves.
- After a number of actions in one hour (10 unless staff change it, at most 100) the trap pauses itself.
Removing data
/modmoth knowledge removeforgets one upload, link or saved answer. The website has the same buttons.- To remove a connected AI app, open
/mcp/connectionsand disconnect it. That ends its access at once and removes what was kept about the connection. - To have a server's stored data deleted, or to ask anything about your data, write in the Modmoth community server: https://discord.gg/xAPfeeAwX
- Removing the bot from a server stops everything. The operator deletes the server's stored data on request (
manage_servers.py remove SERVER_ID --delete-data).