Auto Responses

DotBot answers on its own when members write a keyword, with a text, an embed or a reaction, in the channels you choose and with a cooldown that keeps channels free of spam.

Auto Responses makes DotBot answer on its own when someone writes one of your keywords. It's the quick way to answer the questions members ask every day: the server IP, the rules, a link, how to get a role, or just a friendly hello.

Each response has its keywords, its reply (a text, an embed, reactions, or all of them) and a cooldown so it doesn't flood the channel. If you need conditions, several actions or other triggers, use Automations instead.

How it works

  • DotBot reads every message members send, compares it with the keywords of the responses that are on, and answers when one matches.
  • Upper or lower case and accents don't matter: Canción, cancion and CANCION are the same keyword.
  • Only one response answers each message. If several match, the most specific one wins (see Which response answers).
  • Messages from bots, webhooks and Discord itself (joins, pins, boosts) are never answered, so two bots can't get into a loop.
  • The text of a message is only read to compare it with your keywords. It isn't saved.

Quick start

  1. Open Auto Responses and click New response.
  2. Pick a template (Greeting, Server rules, Server address, No links here or Thanks) or start From scratch.
  3. Add your keywords, for example ip and server ip.
  4. Write the reply and check it in the preview.
  5. Click Create response. Write a keyword in your server to see it answer.

Tip

Try a message, above the list, shows which response would answer a message before you write it in Discord.

Keywords and match modes

A response has up to 20 keywords. Each keyword can be a single word or a phrase of up to 100 characters. The match mode decides how the keyword has to appear in the message:

ModeAnswers when…hello answershello doesn't answer
Exact messageThe whole message is the keyword. Punctuation and emojis at the start or end don't count.Hello!, hello 👋hello everyone
Starts withThe message begins with the keyword.Hello everyoneoh, hello
Whole wordThe keyword appears as a whole word or phrase anywhere in the message.oh hello therehelloooo
AnywhereThe keyword appears anywhere, even inside another word. Needs at least 3 characters.helloooo, ahellohell

Whole word is the default and fits most cases. Use Anywhere for pieces of text such as https:// or discord.gg/.

Which response answers

When a message matches several responses, only one answers:

  1. The most specific mode wins: Exact message, then Starts with, then Whole word, then Anywhere.
  2. With the same mode, the longest keyword wins: server ip beats ip.
  3. If they're still tied, the oldest response wins.

The winner also has to be allowed in that channel and for that member. If the winner is waiting for its cooldown, no response answers: the turn doesn't pass to the next one, so the result is always predictable.

The reply

  • Text: a normal message of up to 2,000 characters.
  • Embed: a designed message with blocks, like in Embeds: texts, sections, separators, galleries, link buttons, and buttons or menus that answer privately.
  • Versions: add up to 5 versions in total. Each time, DotBot picks one at random so the reply doesn't feel repetitive.
  • Reactions: up to 3 emojis that DotBot adds to the member's message. A response can only react, without sending anything.

You can use these variables in the text. They're filled in with the member who wrote the keyword:

VariableBecomes
{user}A mention of the member
{user.name} / {username} / {user.id}Their display name, username and ID
{user.avatar}A link to their avatar
{server} / {server.id} / {server.icon}The server's name, ID and icon link
{count} / {server.boosts}Member count and boosts
{channel}The channel where the keyword was written
{date} / {time}Today's date and the current time, in each person's time zone

Note

Auto responses never notify roles, @everyone or @here, even if the text includes them, because any member can trigger them. The member who wrote the keyword is only notified when Mention the member is on.

How it's sent

  • As a reply (default): linked to the member's message. If DotBot can't read the message history in that channel, it sends a normal message instead.
  • As a new message: a normal message in the same channel or thread.
  • Delete the reply: removes DotBot's reply after a time you choose, up to one hour. Good for reminders that shouldn't stay in the channel.

Where and for whom

Leave a list empty to answer everywhere and everyone.

  • Only in these channels: picking a category includes all its channels. Threads and forum posts follow their channel.
  • Never in these channels: wins over the list above.
  • Only for these roles: members need at least one of them.
  • Never for these roles: members with any of them are ignored.

In Settings, you can also ignore channels and roles for every response at once.

Cooldown

After answering, a response waits before answering again. The wait goes from 5 seconds to 24 hours (30 seconds by default) and applies to:

  • Each channel (default): it answers once per wait in each channel.
  • Each member: each member can trigger it once per wait.
  • Whole server: it answers once per wait in the whole server.

To protect your server, DotBot also answers at most 6 times a minute to the same member and 30 times a minute in the whole server, whatever the cooldowns say.

The list

Each card shows the keywords, the match mode, where it answers, how many times it was used and when it last answered. From the card you can turn a response on or off, edit it, duplicate it (the copy starts paused) or delete it.

A card warns you when:

  • DotBot couldn't answer last time, and why (a missing permission, an emoji that no longer exists…).
  • A channel or role in the response no longer exists, or DotBot is missing a permission in one of its channels.
  • An automation that's on also answers the same keyword. Both would reply, so you may want to keep only one.

Command

Turn on /autoresponse in Settings to let staff manage responses from Discord. It's off by default and needs the Manage Server permission.

CommandWhat it does
/autoresponse listLists the responses, their keywords and whether they're on.
/autoresponse enable response:Turns a response on.
/autoresponse disable response:Pauses a response.

Responses are created and edited in the dashboard.

Limits

LimitValue
Responses per server50
Keywords per response20 (up to 100 characters each)
Versions per response5
Reactions per response3
Text of a reply2,000 characters
Cooldown5 seconds to 24 hours
Delete the reply afterUp to 1 hour
Answers per member6 a minute
Answers per server30 a minute and 3,000 a day
Content of all the responses together4 MB

Permissions DotBot needs

View Channel and Send Messages where it answers (Send Messages in Threads in threads), Read Message History to reply to the message and to react, and Add Reactions for reactions. DotBot also needs the Message Content intent to read what members write. See Privileged intents.

FAQ

Why didn't DotBot answer?

Check that the response is on, that the keyword matches with its mode (use Try a message), that the channel and the member's roles are allowed, and that it isn't waiting for its cooldown. The card shows any problem DotBot had the last time it tried.

Two responses match the same message. Which one answers?

Only one: the one with the most specific mode, then the longest keyword, then the oldest. See Which response answers.

Can members spam a keyword to flood the channel?

No. Each response has its cooldown, and on top of that DotBot answers at most 6 times a minute to the same member and 30 times a minute in the whole server.

Can a response answer without sending a message?

Yes. Leave the message empty and add a reaction: DotBot only reacts to the member's message.

What's the difference with Automations?

Auto Responses does one thing, quickly: a keyword gets a reply. Automations can react to many other events, check conditions and run several actions in a row.

Does DotBot answer bots or other apps?

No. Messages from bots, webhooks and Discord itself are always ignored.