Autoresponder
Reply automatically when a message contains a phrase you choose.
An autoresponder replies on its own whenever a message contains your trigger phrase. It's free, and every subcommand needs Manage Server. A tag is the opposite: a member asks for it by name.
A trigger matches anywhere in a message
Matching is a plain substring test, and it ignores case. A trigger of hi fires on this, chip
and whichever. Use phrases long enough that they can't turn up inside ordinary words.
Add an autoresponder
,autoresponder add takes the trigger, then
|| with a space on each side, then the reply. The bot answers as a reply to the message. A trigger that
already exists is refused.
Syntax
,autoresponder add <phrase> || <response>
Example
,autoresponder add cashapp? || my tag is $jasonquack
On slash, /autoresponder add takes the phrase
and the response as two options, so there's no || to type.
The reply is plain text. Variables like {user.mention} and {guild.name} fill in with whoever
triggered it (see ,customembed variables),
but embed codes are not parsed: {title: Hi} posts as literal text.
Delete the reply after a few seconds
End the response with ++delete <seconds> (a whole number, 1 to 60). It's the only flag.
Syntax
,autoresponder add <phrase> || <response> ++delete <seconds>
Example
,autoresponder add cashapp? || my tag is $jasonquack ++delete 10
Everything after ++delete is cut from the reply, so put it last.
Change or remove one
| Command | Does |
|---|---|
Replaces the response. Rewrites the ++delete timer too, so an edit without the flag clears it | |
Replaces the trigger; refused if another one already uses it | |
Deletes one |
Syntax
,autoresponder edit <phrase> || <response>
Example
,autoresponder edit cashapp? || ask a mod instead
Syntax
,autoresponder rename <phrase> || <newname>
Example
,autoresponder rename cashapp? || paypal?
Syntax
,autoresponder remove <phrase>
Example
,autoresponder remove cashapp?
See what the server has
| Command | Shows |
|---|---|
Every trigger, numbered (not the replies) | |
One trigger and its full response | |
Who made it |
Delete them all
No confirmation, no undo
,autoresponder reset deletes every
autoresponder in the server at once.
What it won't do
- One reply per message. If two triggers match, only one answers, and you can't choose which. A short
trigger inside a longer one (
cashandcashapp?) can make the longer one unreachable. - No per-channel switch.
,command disableand the message filters don't stop it. Take away the bot's Send Messages in that channel instead. - It skips other bots, trap channels and messages caught by flood protection.
Common issues
It fires on words I never meant. That's substring matching. Lengthen the trigger: cashapp? is far
safer than cash.
The wrong trigger keeps answering. Only one fires per message. Rename one so they can't both match.
info says the phrase is invalid. Triggers are stored lowercase and info looks up exactly what you
type. Copy the phrase from ,autoresponder list.
My ++delete timer vanished or never worked. An edit without the flag clears it, and the timer must be 1
to 60 and the last thing in the response.