ModMail

Members DM DotBot to reach your staff privately. Each conversation becomes a post in a private forum, with saved replies, internal notes, support hours, ratings and statistics.

ModMail turns DotBot's direct messages into a private contact line between your members and your staff. A member simply sends a DM to DotBot; the message appears as a post in a private forum channel that only your support team can see. Staff reply inside that post, and DotBot delivers each reply to the member's DMs. The member never sees who is in your team's channel, and your team keeps the whole conversation, notes included, in one place.

It's ideal for appeals, reports, private questions and anything members don't want to say in public, and it doesn't require members to have access to any special channel.

How it works

  1. A member sends a direct message to DotBot.
  2. If they share more than one server with ModMail on, DotBot asks which server they want to contact.
  3. Depending on your settings, DotBot asks them to confirm they want to open a conversation and to pick a contact reason.
  4. DotBot creates a post in your ModMail forum. The first message shows who the member is: account age, roles, warnings from the Moderation module and links to their previous conversations. Support roles can be mentioned.
  5. The member gets the greeting message. Everything they write from now on is copied into the post.
  6. Staff write in the post. Each message is delivered to the member by DM, signed with the staff member's name (or as "Server Team" when anonymous).
  7. When it's solved, staff close the conversation from the post, with /modmail close or from the dashboard. The member gets the closing message and, optionally, the transcript and a rating request.

Each member can have one open conversation per server. If they share several servers that use ModMail, they can switch between them with the Write to another server button.

Status tags

DotBot uses forum tags to show where each conversation stands, and switches them automatically:

TagMeaning
ActiveThe member wrote and is waiting for a reply.
PendingStaff replied and is waiting for the member.
ClosedThe conversation is over.

DotBot creates these tags in the forum if they don't exist. Any other tags you add by hand are kept, so you can also use your own tags (for example "Appeal" or "Urgent").

Mirrored edits and deletions

  • When staff edit or delete a reply in the forum, it changes in the member's DMs too.
  • When the member edits a message, the copy in the forum is updated. If they delete it, the copy is kept with a note, so staff don't lose context.

Quick start

  1. In Discord, create a forum channel that only your support roles can see (for example #modmail).
  2. In the dashboard, open ModMail → General, choose that forum as the ModMail forum and pick your Support roles.
  3. Optionally choose a Log channel for openings, closings, ratings and transcripts.
  4. Click Save.
  5. Test it: send DotBot a DM from a second account (or ask a friend). A new post appears in the forum.

Important

Make the forum private. Everything members send, including personal information, appears in it. Only staff should be able to view it.

General

Forum & staff

SettingWhat it does
ModMail forumThe forum channel where each conversation becomes a post. Every post ends with a control panel (close, block, saved replies).
Support rolesRoles that can reply, close, block and use /modmail. Members with the Manage Server permission can too. Up to 25 roles.
Mention support rolesEach new conversation mentions the support roles so they get a notification. On by default.
Log channelDotBot logs every opening, closing and rating here, with the full transcript as a web page (images included). Leave it empty to log nothing.

Statuses

Rename the three status tags (Active, Pending, Closed) if you want, up to 20 characters each.

Opening

SettingWhat it does
Ask for confirmation before openingThe member confirms before the conversation opens. This avoids conversations over a single "thanks" or a message sent by mistake. On by default.
Minimum account age (days)Discord accounts newer than this can't open conversations; DotBot tells them why. 0 means no minimum (the default), up to 365.
Contact reasonsUp to 25 reasons the member picks from when opening (for example "Report a user", "Ban appeal", "Partnership"). Each has a name, an emoji and an optional description. The reason appears in the post title and header. Leave the list empty to skip this step.

Staff replies

SettingWhat it does
Anonymous repliesEvery reply is signed "Server name Team" instead of the staff member's name. The forum always records who replied.
Internal note prefixStaff messages that start with this text (default !) are internal notes: they're never sent to the member and are marked with 📝.
Anonymous reply prefixStaff messages that start with this text (default %) are sent anonymously, even when anonymous replies are off. They're marked with 🕶️.
Show "typing…"While staff type in the post, the member sees DotBot typing in their DMs; while the member types, staff see it in the post.

Tip

Use internal notes to coordinate: ! I checked the logs, this user was warned twice last week. The member will never see it.

Anyone without a support role who writes inside a conversation post isn't relayed to the member; their message is marked with 🚫.

Messages

These are the texts DotBot sends to the member by DM. Each one can be up to 1,500 characters and supports Discord formatting. Click a variable to add it.

MessageWhen it's sent
ConfirmationBefore opening, together with the confirm button or the reason picker.
GreetingWhen the conversation opens.
Away messageWhen a conversation is opened outside support hours.
Warning before auto-closeBefore a conversation closes for lack of a reply.
ClosingWhen staff close the conversation.
Auto-closeWhen the conversation closes on its own for lack of a reply.
Blocked userWhen a blocked member tries to write.

Variables:

VariableBecomes
{server}The server name
{user}The member's name
{reason}The closing reason
{next}When the team is back (away message)
{time}When the conversation will close (auto-close warning)
{staff}Who is replying
{topic}The contact reason

Saved replies

Saved replies (snippets) are frequent answers your team can send with one click. You can store up to 50, each with a short name and up to 1,800 characters of text. They support {user}, {server}, {staff} and {topic}.

Staff can send them in three ways:

  • From the control panel at the end of the conversation post: sent right away.
  • With /modmail reply name:<snippet>: sent right away (optionally anonymous).
  • From the Inbox in the dashboard: inserted in the text box so you can edit it before sending.

If you delete the copy of a saved reply in the forum, it's also deleted from the member's DMs.

Automation

Closing

SettingWhat it does
Auto-close after (hours without a user reply)If staff replied (Pending status) and the member doesn't answer within this time, the conversation closes on its own with the auto-close message. Default 48 hours, up to 720. 0 turns it off.
Warn the user before auto-closingSends the "Warning before auto-close" message a number of hours before closing (default 12, never more than half of the auto-close time). If the member replies, the countdown starts again after the next staff reply.
Send the transcript to the userWhen closed, the member gets the conversation as a web page by DM. Internal notes are never included.
Ask for a ratingWhen staff close a conversation (not auto-close), the member can rate the support from 1 to 5 stars and leave a comment. They have 7 days to rate. Ratings show in History and in the log channel.

Waiting for a reply

Remind staff when nobody replies: if a member waits this many hours (default 12) without a reply, DotBot posts a reminder in the post mentioning the support roles. It counts from the member's first unanswered message, and there's one reminder per wait (it resets when staff reply).

Anti-spam

SettingWhat it does
Anti-spamLimits how many messages a member can send in an open conversation. Messages over the limit aren't delivered and are marked with ⏳ in their DMs. On by default.
Messages / Per (seconds)The limit. Default: up to 8 messages every 30 seconds.
Wait after closing (minutes)Stops a member from opening a new conversation right after the last one closed. Default 5 minutes; 0 means no wait. Staff can still open one with /modmail open.

Support hours

Tell members when your team is available.

  • Use support hours: off means the team is always available and the away message is never sent.
  • Time zone: the hours you set are in this time zone. The page shows whether you're Open now or Closed now.
  • Weekly schedule: for each day choose From and To, All day, or Closed. Hours can go past midnight ("Until the next day"). Use Copy to weekdays to repeat Monday's schedule.

Outside these hours members can still write. They get the away message when opening a conversation (and again if they write 12 hours later), telling them when the team will be back. The forum post notes that it was opened outside support hours, and staff can still reply at any time.

Inbox

Answer conversations without opening Discord:

  • Open conversations are listed with the most recent activity first, with their status (Waiting for staff or Waiting for the user).
  • Replies are sent by DotBot to the member's DMs, and a copy is posted in the forum with your name.
  • Toggle Anonymous for a single reply, insert a saved reply, and attach up to 5 files of 10 MB each. A reply with large attachments (more than 1 MB in total) is sent one at a time per account; if many are being sent through DotBot at the same moment, the Inbox asks you to try again in a moment.
  • Close conversation now, or schedule it for 15 minutes, 1 hour, 6 hours or 24 hours later. If the member replies before then, the conversation stays open. The optional reason is sent to the member and shown in the log and History.

Messages refresh every few seconds.

History

Every conversation on the server, newest first. Filter by status (open, closed, closing), contact reason or rating. Click a conversation to read all of its messages, including internal notes, plus who opened and closed it, the first response time, how many messages each side sent, the closing reason, the rating and comment, and the member's other conversations.

With ratings on, the top of the page shows the average rating, satisfaction (share of 4 and 5 stars), the trend for the last 30 days, the star distribution, how each staff member is rated and the latest comments.

Closed conversations are kept for 365 days. If someone deletes a forum post, its messages are no longer available in History.

Statistics

See how much your team is contacted and how fast it answers, for the last 7, 30 or 90 days:

  • Open now, split into waiting for staff and waiting for users, and the longest current wait.
  • New conversations, compared with the previous period.
  • First response and Time to close (median and average).
  • How many conversations never got a reply.
  • Activity chart of opened and closed conversations.
  • Busiest times heatmap by day and hour.
  • Contact reasons breakdown.
  • Staff activity: replies and closings per staff member.

Times use the support hours time zone (or UTC).

Blocked users

Blocked members can't open conversations; if they write, they get the "Blocked user" message. Blocks can be temporary or permanent, and temporary blocks end on their own.

Staff can block someone from the button in the conversation post, with /modmail block, or on this page (search by name or paste a user ID, choose a duration and an optional reason only staff can see).

Block durations are the options staff can choose from: up to 10, between 1 and 365 days (default 1, 3, 7 and 30 days). Permanent is always available.

Commands

All commands are for support roles and members with Manage Server.

CommandWhat it does
/modmail reply name: [anonymous:]Sends a saved reply to the member of the conversation you're in.
/modmail close [reason:] [in:]Closes the conversation now, or later with in (for example 30m, 2h, 1d) unless the member replies first.
/modmail open user:Opens a conversation with a member. They get a DM saying your team contacted them.
/modmail block user: [duration:] [reason:]Stops a member from opening conversations, permanently or for one of the block durations.
/modmail unblock user:Lets a member open conversations again.

Permissions DotBot needs

In the ModMail forum, DotBot needs View Channel, Send Messages, Manage Threads and Manage Channels (to create the status tags). To send the log, it needs Send Messages and Attach Files in the log channel. Members must allow DMs from server members to receive replies.

Run the ModMail suite on the test server

From the root of the DotBot checkout on the test host, run the following command. Replace <test-guild-id> with the numeric Discord ID of the designated test server. The suite requires that ID explicitly.

pnpm --filter @dotbot/module-modmail test:guild <test-guild-id>

The suite checks the Discord forum and message delivery, the conversation lifecycle, and concurrent rating comments. For the last check, A and B submit different comments on the same closed conversation. The test waits until both writes are queued, then releases them together. Each order uses a fresh conversation.

Order in the write queueSaved commentStaff log
A → BAExactly one notice containing A's comment
B → ABExactly one notice containing B's comment

For each order, the terminal reports both writes queued, the saved comment (A or B), and one staff notice. The test reads the notice from Discord before removing it. The full suite exits with code 0 when all checks pass.

FAQ

Do members need to do anything special to contact staff?

No. They just send a direct message to DotBot. If they share several servers that use ModMail, DotBot asks which one they want to contact.

Can members see who on the staff replied?

By default replies are signed with the staff member's name. Turn on Anonymous replies to sign every reply as "Server Team", or start a single message with the anonymous prefix (% by default). The forum always records who actually replied.

How do I write something only staff can see?

Start the message with the internal note prefix (! by default). It stays in the forum post, marked with 📝, and is never sent to the member or included in their transcript.

Why didn't the member receive my reply?

The most common reason is that the member closed their DMs or blocked DotBot. Also check that you have a support role: messages from people without one aren't relayed and are marked with 🚫.

Can a member have several conversations at once?

One per server. If they use ModMail in several servers, they can have one open in each and switch with the Write to another server button.

What happens if a member writes outside support hours?

The conversation still opens normally. The member gets the away message saying when the team will be back, and the post notes that it was opened outside support hours. Staff can reply whenever they want.

Can I open a conversation with a member myself?

Yes, with /modmail open user:. The member gets a DM saying your team opened a conversation and can reply right there.

Is there a difference between ModMail and Tickets?

Tickets are channels in your server that members open from a panel. ModMail works entirely through DotBot's DMs, so members don't need to find a channel, and staff work from a private forum. Many servers use both: Tickets for general support and ModMail for private matters like appeals.

How long are conversations kept?

Closed conversations stay in History for 365 days. The log channel keeps the transcript of each one for as long as you keep the channel.

Can a blocked member still DM DotBot?

They can send a message, but it isn't delivered to your team. They get the "Blocked user" reply instead, until the block ends or you unblock them.