Skip to content

Tickets

Domekologe edited this page Jul 2, 2026 · 1 revision

Tickets

🌐 English · Deutsch

Tickets is a Ticket-Tool-style support system: admins post ticket panels (embed with an 🎫 Open ticket button), clicking opens a private thread or text channel for the user and the support roles. Support can claim, close (with confirmation), reopen and delete tickets; on close a .txt + .html transcript is generated and posted to a log channel. All buttons are persistent views and survive restarts. Bilingual (DE/EN), with Web Dashboard integration. Author: pd-codes · requires Red 3.5.0+ · Status: Alpha 0.1.0.

Installation

[p]repo add PDC https://github.com/pd-codes/PDC_Redbot_Cogs
[p]cog install PDC tickets
[p]load tickets
[p]slash sync

Commands

Command What it does
ticket close Close the current ticket (opener or support). Generates the transcript.
ticket claim Claim the current ticket (support only).
ticket reopen Reopen the current closed ticket (support only).
ticket delete Delete the ticket channel/thread, record is kept (admin only).
ticket mine Show your own tickets.
ticket list List all open tickets (mod/support).
ticketset panel <#channel> <subject> Post a ticket panel with an Open-ticket button (admin).
ticketset panels · ticketset removepanel <id> List / remove panels.
ticketset supportrole <add|remove> <role> Manage support roles.
ticketset mode <threads|channels> Private threads or text channels for tickets.
ticketset category [category] Category for ticket text channels (empty = clear).
ticketset maxopen <1-10> Max open tickets per user.
ticketset welcome <template> Welcome message ({user}, {subject}, {ticket}).
ticketset logchannel [#channel] Transcript log channel (empty = clear).
ticketset retention <1-365> Days to keep closed ticket records/transcripts.
ticketset language <de-DE|en-US> Output language.

All ticketset commands require admin/Manage Server. "Support" means having a support role or Manage Server; enabling/disabling the system is done via the dashboard panel.

How it works

ticketset panel posts an embed with a persistent 🎫 Open ticket button; multiple panels with their own subject are supported. Clicking creates ticket-0001 as a private thread (default) or a text channel under the configured category, visible to the opener and the support roles, and posts a configurable welcome message with 🔒 Close / 🙋 Claim buttons. A per-user limit (maxopen) blocks excess tickets. Closing asks for confirmation, then writes a plain-text and HTML transcript into the cog data folder, posts both files to the log channel, and archives/locks the thread (or removes the opener's write access). A background task prunes closed/deleted records and transcript files after the retention period.

Dashboard

  • Under Guild Settings, a Tickets panel (guild admin) with Enabled, thread/channel mode, ticket category, log channel, max open per user, retention days, welcome message and Language, plus a list of the existing panels.
  • A guild page Ticket overview (guild mod): a table of all tickets (ID, subject, opener, status, claimer, created, transcript) and a transcript viewer — pick a ticket from a dropdown to read its stored transcript inline.

Clone this wiki locally