Deploy

Choose where Dexbi runs in your server and how it replies there.

Deploy is where you put Dexbi to work. Each deployment is a set of channels with its own settings, so Dexbi can behave differently in different places. Only Admins and the Owner can create or change deployments. Viewers and Editors see the list but can't open it.

Public agent and ticket agent

Public agentTicket agent
WhereChannels, forums and categories you pickThe category your ticket bot opens tickets in, or your Modmail threads
Replies by defaultSmart replySmart reply
Escalation, Smart close, Transcripts, Smart renameNoYes

For the ticket agent, pick a category. Every text channel inside it is treated as a ticket. Forums only work with the public agent.

The Deploy page with New under Public agent highlighted

New under Public agent. The Ticket agent has its own New above it.

Create a deployment

Click New under the agent you want. It opens a new page. For the ticket agent, Dexbi first asks What ticket system do you use?:

  • Ticket channels: a ticket bot, like Ticket Tool, opens a channel for each ticket. You get the form below.
  • Modmail: members DM your Modmail bot. Dexbi creates a Modmail deployment and shows two commands that connect your bot. See Use Dexbi with Modmail.

On the new page:

  • Name (optional), like "Support tickets".
  • Where it runs: check channels, forums or categories. A category covers every text, announcement and forum channel inside it, and their threads, including new ones. Voice and stage channels inside it aren't covered.
  • The answering settings below.
  • Click Create.

A new public deployment with the Where it runs list highlighted

Where it runs lists your channels, forums and categories.

To change a deployment, click it in the list. It opens on its own page. Overview shows all its settings. The other tabs show one part each: Where it runs (Connection for Modmail), Answering, Behaviours, and On close for ticket channels. Changes save as you make them. Click Deploy at the top to go back to the list.

To delete a deployment, click Delete in the red Danger zone at the bottom of its page. Dexbi asks you to confirm first.

The list shows each deployment's status: how many channels, forums and categories it's live in, for example 3 live, Paused, or Off if it's set to none. Public deployments also show Smart reply, All messages or Only pings, and ticket deployments how many of their 4 ticket behaviors are on.

To stop Dexbi answering for a while, open the deployment and click Pause, at the top right. Dexbi stops answering in its channels, categories or Modmail threads, and its channels, name and settings stay as they are. It shows Paused in the list until you open it and click Resume. /deploy in Discord has the same Pause and Resume buttons.

This is different from the /pause command. Pausing a deployment stops Dexbi everywhere that deployment runs, and only Admins and the Owner can do it. /pause is for your moderators: it stops Dexbi in one channel or ticket, or for one member, and the rest of the deployment keeps answering. See Slash commands.

A channel can only be in one deployment. Text, announcement and forum channels and categories are listed. Voice channels, stage channels and threads aren't. A thread is covered through the channel or forum it's in.

When it replies

The same three options for both agents:

  • Smart reply (default): Dexbi decides. It's a different feature for each agent:
    • Public agent: answers anything said to it and anyone who needs help. It stays out of chatter, conversations aimed at someone else, and anything your team is already handling. See How Smart reply decides.
    • Ticket agent: answers every message in the ticket. When a teammate replied last, it first gives them time to reply. See Smart reply in a ticket.
  • All messages: replies to every message in these channels, whoever it was meant for.
  • Only pings: replies only when someone pings Dexbi or replies to one of its messages. It ignores everything else without reading it.

Your staff's own messages are the exception in every option: Dexbi answers them only when they ping it.

All messages suits a channel that's only for asking Dexbi, where every message is a question. Smart reply suits channels where people chat, or where your staff answer too. Only pings suits channels where Dexbi should speak only when someone calls it.

These three replaced the old When should Dexbi reply? setting. Only when asked is now Only pings, Questions and Anyone who needs help are now Smart reply, and Reply all is now All messages. Earlier choices carried over.

How Smart reply decides

This is the public agent's Smart reply. Dexbi reads each message the way a person in the channel would: who it's for, and whether it's a question Dexbi can help with. Each message is judged on its own. A clear question to the channel that Dexbi can help with gets an answer, and so does someone who's stuck, even without a clear question.

Anything said to Dexbi gets a reply, whatever it is: a question, a greeting, a thanks, a reaction or small talk. Replies to a thanks or a greeting stay short. A message is said to Dexbi when it's:

  • a ping,
  • a Discord reply to one of its messages,
  • a message in a thread that started from one of its messages,
  • a message that says its name to it, or its nickname in your server, like "thanks Dexbi" or "Dexbi, how do I verify?".

A ping or a reply is always for Dexbi. With its name, Dexbi reads whether it's being spoken to: "we use Dexbi for support" is talk about Dexbi, so it stays out. A follow-up within 5 minutes of its answer to you, like "that didn't work", is usually for Dexbi too.

A greeting that names or pings no one, like "hi", "hello" or "gm", is a hello to Dexbi, so it answers. A greeting that names or pings someone else, like "hello Sam" or "hey @Sam", is theirs, and Dexbi stays out.

It stays out of chatter, talk about Dexbi and conversations between other people. If someone says they weren't talking to Dexbi, it doesn't reply, and their next message is judged on its own. When a teammate replies to or pings a member, Dexbi stays out of that member's messages for 2 minutes, unless the member pings Dexbi, replies to it or starts with its name, like "Dexbi, can you check this?".

Smart reply in a ticket

A ticket is one member's conversation with your support, so Dexbi answers every message the member sends, "ok thanks" included. An emoji or a file on its own isn't answered.

When a teammate replied last in the ticket, they're helping the member, so Dexbi gives them time first:

  • When the member writes, Dexbi waits for your teammate to reply. How long is the Wait for your team setting: 5 minutes unless you change it.
  • If your teammate replies in time, Dexbi stays out.
  • If nobody on your team replies in time, Dexbi answers everything the member wrote while it waited, in one reply.
  • If the member writes more while Dexbi waits, the wait doesn't start over. It counts from their first message.
  • Once Dexbi has answered, it answers the member's next messages right away, until a teammate writes in the ticket again.
  • A ping of Dexbi, a reply to one of its messages, or a message that starts with its name, like "Dexbi, how do I…", always gets an answer right away.

Wait for your team

Only for the ticket agent with Smart reply. How long Dexbi waits for your teammate to reply before it answers the member: 1, 2, 5, 10, 15, 30 or 60 minutes. The default is 5 minutes.

Pick Never if your team can take hours or days to reply. Once a teammate has replied, the ticket stays with your team: Dexbi doesn't answer the member for them. It still answers a ping of Dexbi, a reply to one of its messages, or a message that starts with its name.

With All messages, Dexbi answers right away, even while your team is talking. Once a ticket is escalated, After escalation decides instead.

When it can't answer is the public agent's setting. In a ticket, Dexbi always tells the member when it doesn't have an answer.

How chatty

Only for the public agent with Smart reply. It decides what Dexbi does with a message that only says hello, thanks or makes small talk.

  • Quiet: answers questions only. It doesn't reply to hellos, thanks or small talk unless someone pings Dexbi.
  • Balanced (default): replies when it's sure the message was said to Dexbi.
  • Chatty: also says hi back and chats whenever someone talks to Dexbi.

Questions get answered the same way at every level. And at every level, Dexbi stays out of conversations between other people and anything your team is handling.

When it can't answer

Only for the public agent with Smart reply. In a ticket, Dexbi always tells the member when it doesn't have an answer.

  • Says so (default): tells the member it doesn't have that.
  • Stays quiet: says nothing when it has no answer.

With All messages or Only pings, this setting is hidden and Dexbi always tells the member when it doesn't have an answer.

A general question that isn't about your server gets a try from general knowledge, unless Stays quiet is on.

Show images from the docs

On by default. Dexbi includes diagrams and screenshots from your documents in its replies when they help. It only shows images from your documents, never ones members posted.

Ignore trolls

Only for the public agent. Off by default.

When someone trolls, spams or baits Dexbi three times, each within an hour of the last, it tells them once that it won't reply to them in this channel for a while, then ignores them there for the chosen time. Pinging Dexbi doesn't lift it. A real support question that your documents answer still gets an answer. This isn't a Discord mute: they can still post.

  • For: 15 minutes, 1 hour (default), 6 hours or 24 hours.

Members who are angry, rude or complaining but want help aren't treated as trolls. Neither are Staff (the roles and people in Settings > Access > Staff). /resume with the member picked lifts it early. See Slash commands.

Ticket behaviors

Only for the ticket agent. They're on the deployment's Behaviours tab. A behavior's own settings show in a box under its switch while it's on.

A ticket deployment with Escalate to staff highlighted

Escalate to staff, the first ticket behavior. Smart close, Transcripts and Smart rename follow it.

Escalate to staff

On by default. Escalates the ticket to your team when one of your Escalation rules matches. Write the rules and pick the actions under Guidance > Escalation. See Escalate tickets to staff.

Smart close

Smart close tickets is on by default. It closes the ticket once the member confirms it's solved or stops replying, then runs this deployment's On close actions.

  • Auto-close in: how long the member can stay silent before the ticket closes. Dexbi checks in along the way. Default 1440 minutes (24 hours). From 5 minutes up to 7 days.
  • Time extension: extra time when the member asks for more. Same default and range.

Before closing, Dexbi checks in twice, or once if the wait is under about an hour. See Close tickets and save transcripts.

Transcripts

Off by default. When Dexbi closes a ticket, it always saves a transcript and sends the member a link to it by DM. Turn this on to also post a copy for your team.

  • Save to: the channel where your team's copy is posted.

Smart rename

Smart rename tickets is on by default, on Basic and up. Once the member's issue is clear, Dexbi renames the ticket to fit it and keeps its number, so ticket-3500 becomes refund-3500. It renames each ticket once.

The new name is one or two short lowercase words about the issue. It never includes names, emails or order details.

Dexbi skips the rename if someone renamed the channel in the last 10 minutes, or renames it while Dexbi is answering. A ticket whose name has no number isn't renamed, because Dexbi never makes one up. Smart rename needs Manage Channels.

On close

What happens to the ticket channel after Dexbi closes it. It's the deployment's On close tab. Each ticket deployment in your ticket categories has its own, so two deployments can close differently, like each moving tickets to its own archive. A Modmail deployment doesn't have it: Modmail closes the thread and keeps its own log.

ActionWhat it does
Move to a categoryMoves the channel.
Rename the channelAdds a prefix, like closed, so ticket-3500 becomes closed-ticket-3500. Use 1 to 20 lowercase letters, numbers or dashes, starting with a letter or number.
Ping a rolePings a role.
Ping a teammatePings a teammate.
Remove their accessRemoves the member's access to the channel.
Go silentLeaves the channel as it is. Dexbi stops replying in the ticket, so your team can close it. It still answers a teammate who pings it.
Delete the channelDeletes the channel. It has to be the only action.

The steps show as a line under Ticket closes, numbered in the order they run. Click Add a step to add one. New deployments start with Remove their access, and get the On close tab once you click Create. Each action can be used once, up to 6 in total. Leave it empty and Dexbi closes the ticket without touching the channel.

Good to know

  • Test your documents and guidance in the Test box before deploying to a busy channel. The Test box always answers as the ticket agent, with the default settings, not a deployment's.
  • Dexbi starts on a message the moment it arrives. If the same person sends something that needs an answer before the reply is posted, it starts over with everything they said, so "hi" and the real question get one answer; small talk like "lol" doesn't restart it. It starts over at most three times, then sends the reply and answers anything newer in one more reply. You see it typing as soon as it has decided to answer, and not at all when it stays quiet.
  • Dexbi replies as a Discord reply to the member's latest message, in the same channel or thread. Links to files, like a PDF, also get a button under the reply.
  • Dexbi ignores messages from other bots and webhooks, Discord's own system messages, and edits. To correct a question, send it again as a new message. See What can Dexbi read?
  • When a public channel with Smart reply is very busy (more than 30 messages a minute for Dexbi to look at), Dexbi answers only pings and replies to it until things calm down.
  • In public channels with Smart reply, a message over 300 words that doesn't ping or reply to Dexbi is skipped. Otherwise Dexbi reads its first 300 words.

On this page