CroweDocs Add Crowe

Ticket fill-ins

Words in curly brackets that Crowe swaps for the real thing when it sends a ticket message.

Where they work

In your own ticket messages: the first message in a new ticket, and the DM people get when it closes. Write them on the dashboard (Tickets tab, Own ticket messages) or in Discord with !ticket messages or /ticket settings messages. Title, text and footer all take fill-ins. !ticket fillins shows them in Discord, with menus to copy one.

People

For whoever opened the ticket. Swap user for claimer or closer, like {claimer.name}.

Fill-inShows
{user}Their mention
{user.name}Their display name
{user.username}Their username
{user.id}Their ID
{user.avatar}A link to their profile picture
{user.joined}When they joined the server
{user.joined.ago}How long ago they joined
{user.created}When their account was made
{user.created.ago}How old their account is
{user.top_role}Their highest role
{user.roles}How many roles they have
{user.booster}Yes or no: do they boost the server

The ticket and server

Fill-inShows
{server}The server's name
{server.id}The server's ID
{server.members}How many members it has
{ticket.number}The ticket's number
{ticket.topic}The topic they picked
{ticket.channel}The ticket channel
{ticket.opened}When it was opened (date and time)
{ticket.opened.ago}How long ago it was opened
{ticket.claimed}When it was claimed
{ticket.claimed.ago}How long ago it was claimed
{ticket.closed}When it was closed
{ticket.closed.ago}How long ago it was closed
{ticket.reason}The close reason
{answer.1}The answer to form question 1 (2, 3...)
{form.<question>}The answer to a form question, by its text

Show a line only sometimes

Wrap a line in {if …} and {/if} and it only shows when that fill-in has a value:

{if ticket.reason}Reason: {ticket.reason}{/if}

Good to know

  • Your text replaces the whole first message: who opened it, when, the topic and its tip. Use {user}, {ticket.opened} and {ticket.topic} to put them back. Form answers and the buttons always stay.
  • Anything you leave empty uses the standard version.
  • The closed DM only goes out when ratings are on (!ticket ratings on).
  • A fill-in with nothing to show yet (like the claimer on a new ticket) shows nothing. If your text or footer ends up empty, it's left out until it has something to show.
  • The first message redraws itself when someone claims, unclaims or is assigned the ticket, so claim fill-ins appear then.
  • Form answers only work in the first message. Times like {ticket.opened.ago} are counted by Discord, and the phone app may only refresh them when you reopen the channel.