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
- Open the dashboard, pick your server and go to Auto responses.
- Click New auto response, give it a name and pick the channel it Works in.
- Under When a message, add the words to listen for. Under Element will, choose a reply, reactions, or roles to give or take.
- 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).
/autoresponse message addwith a name opens the trigger builder in the current channel (or the channel you pick).- Click Words to Match (or Regex) to choose what to listen for.
- Pick the actions: Message Response, Add Reaction, Add Roles, Remove Roles.
- Click Message Trigger: OFF to switch it on. New triggers start off.
For auto reactions, run /autoresponse reaction add with a member and 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
pricealso 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
| Command | What it does |
|---|---|
/autoresponse message add | Create a trigger and open the builder |
/autoresponse message edit | Open the builder for a trigger again, to change, rename or move it |
/autoresponse message view | List the triggers in the server or a channel |
/autoresponse message remove | Delete one trigger, every trigger in a channel, or all of them (one, channel, serverwide) |
/autoresponse reaction add | Give a member up to 3 reaction emojis (5 on Basic, 8 on Premium) |
/autoresponse reaction view | Show the reactions for one member or everyone |
/autoresponse reaction remove | Remove 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
| Free | Basic | Premium | |
|---|---|---|---|
| Message triggers in the server | 25 | 250 | 500 |
| Reaction emojis per member | 3 | 5 | 8 |
| Reaction emojis in the server | 250 | 750 | 2,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 editto 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:
himatches "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 editand click Message Trigger: ON to switch it off. - Delete triggers:
/autoresponse message removewithone,channelorserverwide. Serverwide asks you to confirm. - Clear auto reactions:
/autoresponse reaction removewithallfor one member, orserverwidefor everyone.