Automations
Rules that answer, close or delete tickets on their own, plus direct messages to the ticket owner and replies to words.
Automations are part of Premium. They take the routine off the team: remind a member who went quiet, close tickets nobody writes in, clear out closed tickets after a few days. A panel holds up to 10 rules of two kinds. Every rule ends in one of three actions: send a custom command, close the ticket or delete it.
#Trigger rules
A trigger rule waits for one event and then acts a single time.
| Trigger | When |
|---|---|
| Ticket created | A ticket opens. |
| Close question shown | The bot asks whether the ticket should really close: after Close ticket with Confirm before closing on, or after $closerequest. |
| Ticket closed | A ticket closes. |
| Ticket reopened | A closed ticket is opened again. |
| Owner left the server | The ticket owner leaves the server while the ticket is open. |
Under More settings, a trigger rule can wait up to seven days before it acts.
Example: Ticket created sends your custom command checklist. Every new faction request then starts with the list of things the team needs.
#Message rules
A message rule watches who writes in an open ticket. It acts when a message arrives within a time window, or when the window ends without one.
| Field | What it sets |
|---|---|
| From | Whose messages count: anyone, the ticket owner or the support team. Bots never count. |
| Act when a message | Arrives acts as soon as such a message comes in. Is missing acts when the window ends and none came. |
| Within | The window: at least 1 minute, at least 5 minutes for Is missing, at most seven days. |
| If a message arrives in time | For Is missing only. Restart timer starts the window anew with every message. Keep counting lets it run out, and the rule then does not act. |
| Then | The action. |
| How often | One time ends the rule after its first window. Again and again opens a new window each time. |
| After the action | For Again and again only. Keep checking goes on, Stop ends the rule. |
The fourth and the last field sit under More settings.
Example for a panel Player reports, with two rules:
- From the support team, Is missing, within 2 hours, Keep counting, then the custom command
lead. If nobody from the team wrote in the first two hours, the command calls the team lead. - From the ticket owner, Is missing, within 3 days, Restart timer, then close the ticket. Every message of the owner starts the three days again.
#How long rules run
- A rule runs for seven days at most, counted from its start. Restarting windows do not extend that.
- Closing a ticket stops its rules. Only delayed Ticket closed triggers go on, for example to delete the ticket three days later. Reopening drops them.
- Reopening starts the message rules again.
$automation stopends the running rules of one ticket.$automation startstarts its message rules again while the ticket is open.
The bot looks for due timers every 30 seconds. An action may therefore run up to half a minute after its time.
#The ticket owner
- Owner left the server. What happens to a ticket when its owner is gone: Leave it open (the default), Close it or Delete it. Delete it also removes tickets that were already closed.
- DM on open. The owner gets a direct message when the ticket opens, by default with a link to it.
- DM on close. The owner gets a direct message when the ticket closes.
Both messages are off by default and only arrive if the member accepts direct messages from server members.
#Replies to words
When a message in a ticket contains one of your words or phrases, the bot answers with a text, images or both. That suits questions the team answers every day, like the server IP or where the rules are. A panel holds up to 20 replies.
| Setting | What it does |
|---|---|
| Words and phrases | Up to 25 per reply. Case does not matter. Enter or a comma adds one, pasted lists are split. |
| Matches when | Word on its own: "ip" matches "What is the IP?" but not "zip". Anywhere in the text: also inside longer words. Whole message: the message is only the word, punctuation aside. |
| Answers messages from | Anyone, only the ticket owner or only the support team. |
| Reply | Text and embeds with variables, for example {author} for the person who wrote. |
| Images | Uploads or links, sent with the text as a gallery. |
| Reply to the message | Shows the answer as a Discord reply to the message, without a ping. |
| Only once per ticket | Answers the first time only. |
| Wait before answering again | No wait, or 30 seconds to an hour, so a busy ticket does not fill up with the same answer. |
- One message gets one answer: the first reply in the list that matches.
- Custom commands go first. When a message starts a custom command, no reply answers it.
- Replies only answer in open tickets and never answer bots.
- Try a message above the list shows which reply would answer, without sending anything.