Autoresponder
Autoresponder
Overview
The autoresponder
command allows you to manage autoresponders in your server. You can set, edit, and delete autoresponders that will automatically reply to messages containing specific trigger phrases.
Syntax
,autoresponder [subcommand] [trigger] [response]
Subcommands
Name | Description | Required Parameters |
---|---|---|
set | Set a new autoresponder | trigger and response |
edit | Edit an existing autoresponder | trigger and response |
delete | Delete an autoresponder | trigger |
Parameters
Name | Type | Required | Description |
---|---|---|---|
trigger | string | ā | The phrase that triggers the autoresponder |
response | string | ā* | The response message (*not required when deleting) |
Response
When an autoresponder is successfully set, edited, or deleted, the bot will reply with an embed message confirming the action. The embed will display the trigger phrase, response text, response type (text, emote, sticker, gif, or image), and the ID of the user who created/edited it.
If the specified trigger does not exist when attempting to edit or delete, the bot will inform you that the autoresponder does not exist.
You must have the Manage Messages permission to set, edit, or delete autoresponders. The bot will notify you if you lack sufficient permissions.
Permissions
Bot Needs:
- Send Messages
- Manage Messages (for
set
,edit
,delete
subcommands)
User Needs:
- Manage Messages (for
set
,edit
,delete
subcommands)
Examples
,autoresponder set hello Hi there! # Set a new autoresponder
,autoresponder edit hello Hey :wave: # Edit an existing autoresponder
,autoresponder delete bye # Delete the "bye" autoresponder
Notes
- Autoresponders are case-insensitive for trigger phrases
- Responses can be plain text, custom emotes, Unicode emojis, stickers (by ID), or image URLs
- The bot will automatically detect the response type based on the provided
response
argument - When editing, you must provide the new
response
text. To change just the image, provide the original response text. - Only the user who created an autoresponder can edit/delete it (or server owner)
Last Updated: 2023-06-08