> ## Documentation Index
> Fetch the complete documentation index at: https://docs.bleed.bot/llms.txt
> Use this file to discover all available pages before exploring further.

# Auto Responders

> Automatically respond to trigger messages.

## Creating an auto responder

You can create an auto responder with the `/autoresponder add` command.

> [!TIP]
>
> The `message` parameter can be raw text, [components](https://docs.bleed.bot/resources/scripting/components.md), or [embed](https://docs.bleed.bot/resources/scripting) with dynamic [variables](https://docs.bleed.bot/resources/scripting/variables.md).
>
> This command will open a Discord modal where you can specify the content of the message.

```javascript Syntax theme={null}
/autoresponder add trigger:<trigger> reply:<True|False> delete:<True|False> ignore_command_check:<True|False> strict:<True|False> self_destruct:<number> ticket_form:<ticket_form_name>
```

```javascript Example theme={null}
/autoresponder add trigger:welc reply:true delete:false ignore_command_check:false strict:false
/autoresponder add trigger:welc reply:false delete:false ignore_command_check:false strict:false self_destruct:10 ticket_form:ticket
/autoresponder add trigger:welc reply:true delete:false ignore_command_check:true strict:true
```

![](https://mintcdn.com/bleed/Iol3HRFyWVexDzQ4/images/configuration/messages/responder/add.png?fit=max\&auto=format\&n=Iol3HRFyWVexDzQ4\&q=85\&s=df3235b1b7a4a2768eca82ea1ec80053)

### Available parameters

The following parameters can be used to customize the response

> [accordion] Not strict
>
> The `strict:` parameter will search for the trigger anywhere in the message.
> For example, `strict:false` if the trigger is `hello`, it will respond to `hello there`.

> [accordion] Self destruct
>
> The `self_destruct:` parameter schedules the response for deletion after a
> specified time, which must be between `6` and `60` seconds.

> [accordion] Delete trigger
>
> The `delete:` parameter will delete the trigger message after the response is
> sent.

> [accordion] Reply to trigger
>
> The `reply:` parameter will reply to the trigger message.

> [accordion] Ignore command check
>
> The `ignore_command_check:` parameter will allow the responder to trigger even
> if it's a pre-existing command.

## Removing an auto responder

You can remove an auto responder with the `/autoresponder remove` command.

> [!NOTE]
>
> If you're struggling to remove an auto responder, refer to the [selection removal](https://docs.bleed.bot/resources/syntax.md#removing-entries-via-id).

```javascript Syntax theme={null}
/autoresponder remove trigger:<trigger>
```

```javascript Example theme={null}
/autoresponder remove trigger:welc
```

![](https://mintcdn.com/bleed/Iol3HRFyWVexDzQ4/images/configuration/messages/responder/remove.png?fit=max\&auto=format\&n=Iol3HRFyWVexDzQ4\&q=85\&s=bcf5f8b799ad986fece07ace93917112)

## Restricting auto responders

### Restricting to a channel or role

Toggle exclusive access for an autoresponder to a role or channel with the `/autoresponder exclusive add` command.

```javascript Syntax theme={null}
/autoresponder exclusive add trigger:<trigger> role:<role>|channel:<channel>
```

```javascript Example theme={null}
/autoresponder exclusive add trigger:welc role:@Verified
```

![](https://mintcdn.com/bleed/Iol3HRFyWVexDzQ4/images/configuration/messages/responder/role3.png?fit=max\&auto=format\&n=Iol3HRFyWVexDzQ4\&q=85\&s=bf0caf38d43fab6e04edf1223d4b59b8)

## Auto Responder Roles

Autoresponder roles are roles that are assigned to or removed from members when they say a specific message.

> [!WARNING]
>
> It's easy to confuse these commands! Running the `/autoresponder exclusive add` command again would undo the functionality of giving members roles.

```javascript Syntax theme={null}
/autoresponder role add|remove trigger:<trigger> role:<role> setting:<On|Off>
```

```javascript Example theme={null}
/autoresponder role add trigger:welc role:@Verified setting:On
```

![](https://mintcdn.com/bleed/Iol3HRFyWVexDzQ4/images/configuration/messages/responder/role2.png?fit=max\&auto=format\&n=Iol3HRFyWVexDzQ4\&q=85\&s=5fbefc4be59f46c612f3fdf3f4c92040)

### Removing an autoresponder role

You can remove an autoresponder role by running the same command again. This action will reverse the previous configuration and remove the assignment or removal of the role.

## Related commands

> [accordion] Updating an auto responder
>
> You can use the `/autoresponder update` command to update an auto responder.
> \[!NOTE] This command uses the same syntax as the `/autoresponder add` command.

> [accordion] Removing all auto responders
>
> You can use the `/autoresponder reset` command to remove all auto responders.

> [accordion] Viewing all auto responders
>
> You can use the `/autoresponder list all` command to view all auto responders.

> [accordion] Viewing all ticket auto responders
>
> You can use the `/autoresponder list tickets` command to view all ticket auto responders.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.