Set up auto responses

Make Element reply, react or change someone's roles when a message contains words you choose. Everything happens in Discord.

  • About 4 minutes
  • In Discord
  • 8 steps

Before you start

  • Element in your server
  • The Manage Messages permission, plus Manage Roles if the trigger gives or takes roles

Start a new trigger

In the channel you want Element to answer in, type /autoresponse message add and pick it from the list.

Give the trigger a name so you can find it later, such as events. Names are up to 30 characters and can't repeat within a channel. Leave channel empty to use the channel you're in.

A trigger only listens in its own channel. To answer the same words somewhere else, add another trigger there.

general

Commands matching /autoresponse message

  • /autoresponse message addAdd a new message trigger for the given channel.APP
  • /autoresponse message editEdit an existing message trigger.APP
  • /autoresponse message viewShow auto message triggers for the entire server or a channel.APP
/autoresponse message addname:eventschannel:#general

Meet the trigger builder

Element answers with the Message Trigger Builder. Its buttons are in three rows:

  • Settings turns the trigger on or off, and chooses between replying and sending.
  • Conditions decide when it fires.
  • Actions decide what Element does.

New triggers start off, so nothing happens until you finish and switch it on in step 5.

general
RRayyanused/autoresponse message add
ElementAPPToday at 18:04

Message Trigger Builder

General Settings

:elem_reply: Name: events

:elem_reply: Status: Disabled

IF: Words Matched: Not set.

THEN: :elem_announce: Send Message to Channel: N/A

⚠️WARNING: Trigger is disabled. It will not activate unless enabled.

SETTINGS:Message Trigger: OFFReply: OFF
CONDITIONS:RegexWords to Match
ACTIONS:Add RolesRemove RolesAdd ReactionMessage Response

Choose the words to listen for

Click Words to Match and type the words or phrases, separated by commas.

The trigger fires when a message contains any of them, anywhere in the message. Capital letters don't matter, so event matches "Event?", "events" and "when's the event".

If you know regular expressions, Regex takes a pattern of up to 200 characters instead. A trigger with both fires when either one matches. Lookbehinds and backreferences aren't allowed.

Set the Words to Match

Word Matcher

game night, next event, events
CancelSubmit

Choose what Element does

Pick one or more actions. They all happen together when the trigger fires.

  • Message Response sends a message of up to 300 characters, exactly as you type it.
  • Add Reaction reacts to the message with one emoji. Type the emoji, or its name like :wave:.
  • Add Roles and Remove Roles change the roles of the person who sent the message, up to 2 roles each. You need Manage Roles to set these.

Set the Trigger Response

Message Response

Game night is every Friday at 8pm UTC. The schedule is in #events!
CancelSubmit

Turn it on

Click Message Trigger: OFF. It turns green and reads Message Trigger: ON, and Element confirms it.

Want Element to reply to the message instead of posting on its own? Click Reply: OFF to switch it to Reply: ON.

general
ElementAPPToday at 18:04
ClickMessage Trigger: ONReply: OFF
ElementAPPToday at 18:04
Enabled the message trigger events.

Only you can see this·Dismiss message

Test it

Send a message with one of your words in the trigger's channel. Element answers straight away.

Element ignores messages from bots, including its own, so a bot can't set a trigger off.

general
R
RayyanToday at 18:03
when's the next game night?
ElementAPPToday at 18:03
Game night is every Friday at 8pm UTC. The schedule is in #events!

Change or remove it later

  • /autoresponse message view lists the triggers in the server, or in one channel.
  • /autoresponse message edit opens the builder for a trigger again. In edit mode you can also rename it or move it to another channel.
  • /autoresponse message remove deletes triggers. Choose one to delete a trigger by name, channel to delete every trigger in a channel, or serverwide to delete them all. Element asks you to confirm a serverwide delete.
general

Commands matching /autoresponse message

  • /autoresponse message viewShow auto message triggers for the entire server or a channel.APP
  • /autoresponse message editEdit an existing message trigger.APP
  • /autoresponse message removeDelete message triggers by name, channel or for the whole server.APP
/autoresponse message removemode:onename:events

React when someone is mentioned

Auto reactions are the other half of auto-responses. Element reacts with a member's emojis whenever a message mentions them, in any channel.

Run /autoresponse reaction add, pick the member and type up to 3 emojis separated by spaces. You can type part of an emoji's name, and Element looks for it in your server first, then in its own emojis.

/autoresponse reaction view shows them, and /autoresponse reaction remove takes them away for one member (all or many) or for everyone (serverwide).

general
C
CopperToday at 18:03
congrats @Rayyan on the promotion!
🎉1👑1🔥1

1/8