Discord bot
Tickets, ModMail & transcripts
Private help channels with a form, staff who claim them, ratings, auto-close and a transcript of every conversation you can read like Discord or download as text.
Setting up tickets#
- Panel → Tickets: pick the category for ticket channels, the staff role and a transcripts channel.
- Add up to 5 ticket types (Support, Report a player, Partnership…). Each can ask up to 5 questions in a form before the ticket opens.
- Save, then Post the panel in a channel (or
/ticket panel). One type shows a button, several show a menu.
In a ticket#
- The first message shows the member's answers and four buttons: Claim, Close, Close with reason and Transcript (a link to what's been said so far).
/ticket add,/ticket remove,/ticket rename,/ticket claim,/ticket close,/ticket transcriptand/ticket list(staff: every open ticket).- Auto-close: no messages for the hours you set closes the ticket, with a warning an hour before.
- On close: the transcript goes to the transcripts channel (with an AI summary if it's on), the member gets it by DM with a 1–5 star rating, and the channel is deleted.
What the panel shows
| Open now / opened in total | Live counts. | |
| First answer (average) | How long members wait for the first message from someone else. | |
| Average rating | From the stars members give after closing. | |
| Average time to close | From opening to closing. | |
| Open tickets | Unclaimed ones are marked, and ones with no message for a day turn red. | |
| Closed tickets | Searchable by number, name, type or reason, each with its transcript. |
Response times and taking turns#
- Remind when nobody answers within (Panel → Tickets → Setup): if a ticket gets no staff answer in that many minutes, the bot pings whoever has it (claimed or assigned), or the staff role. Once per ticket.
- Escalate to: at twice that time it pings a second role (leads, admins) and writes it to your log channel.
- Hand tickets out in turn: list staff Discord IDs and every new ticket goes to the next person, who is pinged instead of the whole staff role. Everyone with the staff role can still see and answer.
Web transcripts#
Every closed ticket and ModMail thread gets a page at bot.spotlight.baby/transcript/ticket/… (or /transcript/modmail/…) drawn like Discord: avatars, names, replies with the message they answer, embeds with their fields, pictures, files, buttons and day separators. Download it as .txt (readable, with replies and embeds written out) or JSON.
Settings (Panel → Tickets)
| Web transcripts | on / off | Off: only the .txt file in the transcripts channel and the DM, as before. |
| Who can open a transcript | private / link | Private (default): the people who wrote in it and the server's staff, after signing in with Discord. Link: anyone with the link. |
| Keep transcripts for | 7–365 days | 90 by default. Expired links say so. |
Who counts as staff
Panel managers with the Tickets page (Support for ModMail), members with the ticket staff role, and members with Manage Server. Links are 22 random characters, so they can't be guessed.Pictures and files stay on Discord's servers, so very old ones may stop loading even though the transcript is still there.
ModMail#
- Members DM the bot; the bot opens a private
mm-…channel for staff and forwards everything both ways. - Staff reply in that channel (anonymous replies are an option). Close sends a transcript to the ModMail log channel and tells the member; Block stops someone writing.
- Set it up in Panel → Support: category, log channel, the role to ping and the greeting.