Auto responses

Make Element reply, react or change roles when a message contains words you choose, and react whenever certain members are mentioned.

Dashboard
Dashboard › Auto responses
Commands
/autoresponse (or e!ar)
You need
Manage Messages. Manage Roles too, to make a trigger give or take roles.
Element needs
Send Messages and Read Message History to reply, Add Reactions to react, Manage Roles (with its role above them) to change roles.
Plans
More message triggers and more reaction emojis. See plans

What it does

Auto responses come in two types.

Message triggers watch one channel for words or a pattern. When a message matches, Element can:

  • send a message of up to 300 characters, as a reply or on its own,
  • react with an emoji,
  • give the sender up to 2 roles, and take up to 2 away.

Auto reactions belong to a member. Whenever a message mentions them, in any channel, Element reacts with their emojis.

Why use it

Answer the questions people ask every day ("how do I verify?", "what are the prices?"), hand out a role when someone says a code word, or give your staff a signature reaction. It all runs without anyone watching the channel.

Set it up

  1. Open the dashboard, pick your server and go to Auto responses.
  2. Click New auto response, give it a name and pick the channel it Works in.
  3. Under When a message, add the words to listen for. Under Element will, choose a reply, reactions, or roles to give or take.
  4. Save. Try a message checks a sample message against what's saved, without posting anything.

For auto reactions, open the Mention reactions tab and add a member with up to 3 emojis (5 on Basic, 8 on Premium).

The auto responses guide walks through the commands step by step.

How matching works

  • Words to Match is a comma-separated list. A message matches if it contains any of them anywhere, ignoring capital letters, so price also matches "prices".
  • Regex takes a pattern of up to 200 characters, matched without regard to case. Backreferences, lookbehinds, conditionals, recursion and comments aren't allowed, and a pattern that takes too long to check simply doesn't match.
  • A trigger with both fires when either matches.
  • Element ignores messages from bots, including its own.

Commands

CommandWhat it does
/autoresponse message addCreate a trigger and open the builder
/autoresponse message editOpen the builder for a trigger again, to change, rename or move it
/autoresponse message viewList the triggers in the server or a channel
/autoresponse message removeDelete one trigger, every trigger in a channel, or all of them (one, channel, serverwide)
/autoresponse reaction addGive a member up to 3 reaction emojis (5 on Basic, 8 on Premium)
/autoresponse reaction viewShow the reactions for one member or everyone
/autoresponse reaction removeRemove some or all of a member's reactions, or everyone's (many, all, serverwide)

Every command needs Manage Messages. e!ar m add and e!ar r add are the prefix shortcuts.

Limits

FreeBasicPremium
Message triggers in the server25250500
Reaction emojis per member358
Reaction emojis in the server2507502,500

Trigger names are up to 30 characters and unique within their channel. To stop floods, Element skips a message that mentions more than 10 people for auto reactions, and limits how many actions it takes per channel and server in a short time.

Common problems

  • Nothing happens. Check the trigger is on, that the message was in the trigger's channel, and that Element can send messages and react there.
  • The builder's buttons stopped working. They last 3 minutes. Run /autoresponse message edit to open it again.
  • Roles don't change. Element needs Manage Roles and its role must be above the roles. A trigger that adds and removes the same role is skipped.
  • It fires too often. Short words match inside longer ones: hi matches "this". Use a longer phrase or a regex like \bhi\b.
  • An emoji vanished from a trigger. If Discord says the emoji no longer exists, Element removes it from the trigger.

Turn it off or reset it

  • Pause a trigger: open it with /autoresponse message edit and click Message Trigger: ON to switch it off.
  • Delete triggers: /autoresponse message remove with one, channel or serverwide. Serverwide asks you to confirm.
  • Clear auto reactions: /autoresponse reaction remove with all for one member, or serverwide for everyone.

Guides