Modmail reply templates Modmail snippets

Save the answers your team types every day. A snippet is sent with its key, fills in the member’s name and the ticket’s details, and can carry a form or a close button.

Example: kai asks how to get the Artist role. mira types !!artist in the ticket channel, and kai receives the full saved answer with his name filled in.

Illustration. The real interface may look different.

Three ways to send one

Every snippet has a key your team chooses. Typing the key is usually fastest. The command helps while the keys are still new.

  • !!key sends the snippet as your reply.
  • /modmail s picks a snippet from an autocomplete list.
  • {{key}} inside a longer message is replaced by the snippet, and the rest of your text stays.
  • !!!key and /modmail as send it anonymously.

Illustration. The real interface may look different.

Variables fill in the details

Snippet text can contain %variables%. The bot replaces them when the snippet is sent, so one text greets every member by name. A variable without a value becomes empty text.

  • Member: %userName%, %userMention%, %userJoinedAtRelative%
  • Staff: %staffName%, %staffHighestRole%
  • Ticket: %ticketID%, %ticketTopic%, %ticketClaimedBy%
  • Server and time: %guildName%, %openingHours%, %relativeTime%

Illustration. The real interface may look different.

Manage snippets in Discord

Your team creates and edits snippets with slash commands, in the place where they use them.

/modmail snippets create
Creates a snippet. You enter a new key, then a dialog asks for the text, whether to attach close buttons, and which form to attach.
/modmail snippets edit
Opens the same dialog with the current content.
/modmail snippets preview
Shows a snippet’s content and details.
/modmail snippets list
Lists all snippets with how often each one was used.
/modmail snippets delete
Deletes a snippet for good.

Write your first snippet

Start with the question your team answered most often last week.

  1. Run /modmail snippets create

    Give it a short key that is easy to remember, such as artist or refund.

  2. Write the answer

    Use %userName% where you would type the member’s name.

  3. Attach a form or close buttons

    A form collects details in the same step. Close buttons let the member close the ticket once the answer has solved it.

  4. Use it in a ticket

    Type !! and the key in the ticket channel. The member receives the full text.

Questions about snippets

Who creates snippets?

Your team does, with the /modmail snippets commands in Discord.

Can a snippet close the ticket?

A snippet can carry close buttons. The member presses one in the DM when the answer has solved the problem.

Can a snippet ask for information?

Yes. Attach one of your forms to the snippet and the member gets the text and the form together.

Can I use a snippet inside a longer message?

Yes. Write the snippet key in double curly braces, like {{key}}, anywhere in your message. The bot replaces it with the snippet text and keeps the rest of what you wrote. Close buttons of the snippet carry over, and variables in it are still filled in. A {{...}} that does not match a snippet is sent as you typed it.

What if a variable has no value?

It is replaced with empty text. Text that is not a known variable is sent as you wrote it.

How do I edit, preview or delete a snippet?

Use /modmail snippets with the subcommand you need. Edit opens the same pop-up as create, filled with the current text, close-button setting and attached form. Delete removes a snippet permanently and cannot be undone. Preview shows the text and details of a snippet. List shows your snippets with their usage counts, most used first.

Do capital letters matter in a snippet key?

No. The bot stores snippet keys in lower case and looks them up the same way, so Refund and refund are the same key. That holds when you create or edit a snippet, when you type the key with !!, and when you use it inside a message with {{key}}. Type the key however you like.

Do snippets work in the Ticket System?

No, snippets are part of Modmail.

Try the Support Bot on your server

The free trial runs for 14 days and asks for no payment details. Everything on this page is set up in the dashboard.

This offer is only available for selected servers that have never purchased a plan and never used a free trial before. You do not need to enter any payment information to start the trial and the trial automatically expires after 14 days. Servers that have been deleted from SCNX previously are not able to participate.