Skip to main content
Righteous

Post a ticket panel with several ticket types, each with its own greeting, category, naming and limits.

One panel carries several buttons (or a dropdown). Each opens a different type of ticket, called a preset, with its own greeting, category, channel naming, limit and up to five opening questions. A preset overrides the server's ticket defaults, and anything it leaves unset falls back to them.

Post the panel

,ticket setup posts the panel in the current channel: one button per enabled preset in your order, or one dropdown in dropdown mode. With no presets you still get a plain Open button that uses the server defaults.

Syntax

,ticket setup [embed]

Example

,ticket setup {description: Need help? Click below.}

Create a preset

,ticket preset manages them: new, set, show, list, delete, enable, disable. ,ticket panel opens the same settings as a clickable manager.

Syntax

,ticket preset new <label>

Example

,ticket preset new Support

Syntax

,ticket preset set <type> <field> [value]

Example

,ticket preset set support category #tickets

A blank value clears a value, channel or role field back to inherit. Toggles need on or off, three-state toggles need the word inherit, and style and label can't be blank. A preset's own blacklist is panel-only.

Tip

A preset that "isn't working" is often fine: the server default behind it was never set either.

Reopen a ticket

Every ticket has a serial (one running count for the whole server, the true identity, {ticket.serial}) and a display number (counted per type, the one in the channel name, {ticket.id}). support-1 and billing-1 can both exist.

,ticket reopen does two different things:

You runForResult
,ticket reopen inside the channel
An archived ticket
Moves back to the open category, opener's access restored. Nothing lost
,ticket reopen <type> <number>
A deleted ticket
Rebuilt under the same number with no message history. The log channel transcript is the only record

Syntax

,ticket reopen [type] [number]

Example

,ticket reopen support 3

A number for an archived ticket is refused with "reopen it from inside its own channel". If several types have a deleted ticket with that number, the bot asks which; naming the type skips the question. The 🔓 button does the in-channel reopen if the control row is on.

Write the greeting and the panel

Two separate embed codes, rendered in different places. Both need Manage Server and no premium.

CodeSet withRenders
Panel embed
Once, on the panel message carrying the Open button
Greeting
,ticket message, or per type with ,ticket preset set <type> greeting <code>
Inside every new ticket

Editing one never changes the other.

Syntax

,ticket message <code>

Example

,ticket message {color: #fb4868}$p{title: {ticket.type} - ticket #{ticket.id}}$p{description: {ticket.opener} thanks for getting in touch, staff have been notified and will answer in this channel.}$p{field: Opened && {ticket.created} && inline}$p{footer: {guild.name}}
RighteousAPP

PoGo Coins - ticket #3

@jason thanks for getting in touch, staff have been notified and will answer in this channel.

Opened

2 minutes ago

Righteous

The greeting as it posts inside a new ticket, with sample values. Open in the builder

Syntax

,ticket setup [embed]

Example

,ticket setup {color: #fb4868}$p{title: Need a hand?}$p{description: Open a ticket below and the {guild.name} staff team will pick it up. Please don't DM or ping staff directly.}$p{thumbnail: {guild.icon}}
RighteousAPP

Need a hand?

Open a ticket below and the Righteous staff team will pick it up. Please don't DM or ping staff directly.

Image placeholder: thumb
The panel embed; Righteous adds the Open button under it. Open in the builder
  • {ticket.*} works only in the greeting. Elsewhere, including the panel, ,customembed and the close and archive logs, it posts its own name (ticket.id). General tokens like {user} and {guild.name} work in both.
  • {ticket.answer1} to {ticket.answer5} insert the opening answers. A token with no value yet ({ticket.claimer} before a claim) is blank, but an unresolved one shows its own name.
  • The greeting honors ++delete <seconds>. The panel ignores it, since it would delete its own button.
  • A colored button in the greeting or the panel can carry a private reply. It is filled in for whoever presses it, and {ticket.*} doesn't work inside it.

Syntax

,ticket setup [embed]

Example

,ticket setup {title: Need a hand?}$p{button: blue && Before you open one && reply: {description: Search the channel first; your answer may already be there.}}
RighteousAPP

Need a hand?

Buttons (illustration; the reply buttons show their reply when pressed):
A panel with an extra button. Press it and only the person who pressed sees the reply; Righteous still adds the Open button. Open in the builder
  • The panel is rendered once, so {guild.membercount} stays as of the day you posted it.

A preset's channel-name template (,ticket preset set <type> channelname) is not an embed, so it has its own tokens ({ticket.num}, {ticket.id}, {ticket.type}, {ticket.opener} as a username, {num}, {preset}, {user} and some server ones) and comes out lowercased with hyphens. {ticket.num} works only there. The code language is in embed codes.

Archive idle tickets

,ticket autoclose sets the server-wide idle window. A silent ticket gets a warning, then is archived 24 hours later, never deleted. A preset can override it, and 0 turns it off for that type.

Syntax

,ticket autoclose <hours|off>

Example

,ticket autoclose 72

Block people from opening tickets

,ticket blacklist stops a user or role from opening tickets in this server. It doesn't remove anyone from a ticket they already have.

Syntax

,ticket blacklist <add|remove|list> [@role/@user]

Example

,ticket blacklist add @spammer

There are two blacklists, and the refusal tells you which:

ListRun byRefusalScope
Ticket blacklist (this one)
Manage Server
"You are not allowed to open tickets in this server."
This server. A per-type block is set from the ticket panel
Global blacklist, ,blacklist
Bot owner only
"You cannot use this bot."
The bot everywhere, including the Open button

The blocked member is never told which entry matched. Only staff logs name it. On prefix commands the global list says nothing at all; slash commands and buttons always answer.

Turn on the in-ticket control row

,ticket buttons adds two rows of staff buttons to every new ticket: Add User, Remove User, Rename, Reason, Transfer, Claim, Log, Close, Delete, and Archive once the server has an archive category. Off by default.

Syntax

,ticket buttons <on|off>

Example

,ticket buttons on

Keep transcripts

,ticket transcript is on by default. Closing or archiving attaches an HTML transcript to the log message as a file. Off stops that, but ,ticket log still pulls one on demand, and a preset can turn it back on for its type.

Syntax

,ticket transcript <on|off>

Example

,ticket transcript on

Common issues

A preset changes nothing. The field is probably blank, which means inherit, and the server default isn't set either.

,ticket reopen 3 says the ticket is archived. Go to its channel and run ,ticket reopen with nothing after it.

Reopening by number asks which type. Several types share that number. Add the type, or use the serial it listed.

A member is blocked and won't say why. The ticket blacklist never names the match. Check ,ticket blacklist list or the staff log.

Auto-archive fired with no warning. It always warns first, so the ticket was probably archived by hand.

More fixes are on the shared common issues page.