Autoresponder
Give Sigil a word and an answer. When somebody uses the word in a message, Sigil replies with your answer.
The autoresponder answers a word with a message you wrote. You give it a word or short phrase (the trigger) and an answer. When somebody uses the trigger in a message, Sigil replies to that message. It is for people who manage the server, and it works with commands only.
The commands
/autoresponder add trigger responsemakes one. Adding the same trigger again changes its answer./autoresponder remove triggertakes one away./autoresponder listshows the triggers, a short look at each answer, and whether the autoresponder is on./autoresponder onand/autoresponder offswitch it. The list is kept.
For example, /autoresponder add trigger:rules response:Welcome {user}! The rules are in #rules.
Sigil needs the Message Content permission to see what a message says. It needs to be able to send messages in the channel, and it replies to the message when it can read the channel's history.
What counts
- A trigger has to stand alone. rules answers "what are the rules?" but not "ruler". Capital letters don't matter.
- A trigger is 2 to 32 characters long and has at least one letter or number in it. A phrase of several words matches when they are written together.
- If a message has more than one trigger, Sigil answers the first.
The answer
- It can be up to 1000 characters and can use line breaks and Discord's formatting.
{user}mentions the person who used the trigger, and{server}is the server's name.- It can ping up to three roles: type
@in the answer and pick each role. A role has to be one Sigil can ping (set to mentionable, or Sigil has the Mention Everyone permission) and one you could mention yourself. Sigil checks again each time it answers, so a role that has since been locked is not pinged. - It can never ping
@everyoneor@here, or anyone except the person who used the trigger (when it says{user}) and those roles. Other mentions show as names but do not notify anybody.
Good to know
- The same trigger answers in the same channel at most every 30 seconds, so a busy chat isn't flooded.
- Sigil ignores messages from bots and webhooks, so two bots can't answer each other.
- A message that trigger words post again isn't answered.
- A free server can have 5 autoresponders. A server with Ember for servers can have 50. If a server has more than its plan allows it keeps what it has, but can't add more.