Tickets

REQUIRES: Manage channels, Manage Messages, Embed Links

Setup

The ?pobox command will configure the mailbox where tickets will be initially dumped and how they are handled.

Command Example ?pobox Category HelpDesk

Command Description
!pobox current Current settings for POBox.
!pobox channel #channel Where tickets will be posted.
!pobox category Modmail Where ticket channels are made.
!pobox agelimit The minimum account age needed to submit tickets.

!pobox response Ticket sent, talk to you soon!

Once the mail is submitted, what gets sent to users.

!pobox responsetype embed/text

Type of response message to give.

!pobox newmailmsg New ticket submitted. %tid.

New ticket message for staff. Appears in the 'channel'.

!pobox forcedump

Whether or not to force dumping of a ticket into the 'channel' and in a specific format, valid input is 'html', 'text', or 'off'.

!pobox newmailtype

Type of response message to give in 'channel'

NOTE: When using newmailmsg and response you are allowed to use multiple flags for variables, listed below

Variables

Variable Description
%name Mentions the ticket sender.
%tag Username#### of ticket sender.

%id

UserID of the ticket sender.
%date Date of ticket submission.

%tid

Ticket ID

%mid

Message-ID from ticketing channel.

%guild

Server Name

%content

Content of the ticket entirely

%uimg

Avatar URL of the ticket sender.

Administration

Command Description
!module tickets Enable/Disable the module.
!assign userid ticketid Assigns the staff member to, and opens if need be, a given ticket. Requires a member reference and ticket number.
!unassign userid ticketid Unassigns a staff member from the ticket.
!closeticket ticketid Closes the given ticket, marking it resolved and deleting the channel. Will also create a full dump of the channel if requested.
!ticketstatus ticketid Displays the given ticket status.
!blockticket userid Prevents that user from submitting tickets.
!unblock userid No longer prevents that user from submitting tickets.

Public

Command Description
!send Send a ticket to the staff of this server. This is completely private. Upon activation the bot will DM you asking for input, waiting up-to 10 minutes.