> For the complete documentation index, see [llms.txt](https://documentation.lynnux.xyz/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://documentation.lynnux.xyz/akira/features/autoresponse.md).

# AutoResponse

{% hint style="info" %}
**Note that:**\
None premium guild have a max autoresponse amount of 20.\
Premium Guilds have a max autoresponse amount of 50
{% endhint %}

## Usage:

<table><thead><tr><th width="195">Command</th><th width="194.33333333333331">Options</th><th>Description</th></tr></thead><tbody><tr><td><code>a.autoresponse create</code></td><td>"&#x3C;option>" "{trigger}" "{response}"</td><td>Create autoresponses to text triggers.</td></tr><tr><td><code>a.autoresponse remove</code></td><td>{TriggerID}</td><td>Remove autoresponses triggers.</td></tr><tr><td><code>a.autoresponse list</code></td><td></td><td>Get the list of all autoresponses in the server</td></tr><tr><td><code>a.autoresponse clear</code></td><td></td><td>Remove all autoresponses from the server</td></tr></tbody></table>

#### AutoResponse Options

<table><thead><tr><th width="135">Command</th><th>Description</th></tr></thead><tbody><tr><td><code>text</code></td><td>Akira will respond to messages that exactly match the trigger.</td></tr><tr><td><code>has</code></td><td>Akira will respond to messages that contain the trigger.</td></tr><tr><td><code>react</code></td><td>Akira will react to messages that exactly match the trigger. <br><code>(responce needs to be a emote)</code></td></tr><tr><td><code>reacthas</code></td><td>Akira will react to messages that contain the trigger.<br><code>(responce needs to be a emote)</code></td></tr><tr><td><code>delete</code></td><td>Akira will delete and respond to messages that exactly match the trigger.</td></tr><tr><td><code>random</code></td><td>Akira will respond to messages that exactly match the trigger with a response chosen randomly from a list set by the user.<br><code>(Use | as dividers)</code></td></tr></tbody></table>

#### Trigger Placeholders

These placeholders can only be used in the trigger of an auto response.

<table><thead><tr><th width="269">Placeholder</th><th>Description</th></tr></thead><tbody><tr><td><code>{mention:userid}</code></td><td>If the user is mentioned.<br><code>(Change userid to the user's id)</code></td></tr><tr><td><code>{prefix}</code></td><td>Akira's prefix in your server.</td></tr></tbody></table>

#### Response Placeholders

These placeholders can only be used in the response of an auto response.

<table><thead><tr><th width="221">Placeholder</th><th>Description</th></tr></thead><tbody><tr><td><code>{channel.tag}</code></td><td>Will tag the channel the trigger is in.</td></tr><tr><td><code>{channel.name}</code></td><td>Will be replaced with the name of the channel.</td></tr><tr><td><code>{server.name}</code></td><td>Will be replaced with the name of the server.</td></tr><tr><td><code>{member.name}</code></td><td>Will be replaced with the nickname of the user who triggered the auto response.</td></tr><tr><td><code>{member.username}</code></td><td>Will be replaced with the username of the user who triggered the auto response.</td></tr><tr><td><code>{member.tag}</code></td><td>Will tag the user who triggered the auto response.</td></tr><tr><td><code>{mention.tag}</code></td><td>will reply with the user from {mention:userid}<br><code>(only works if you use {mention:userid} in thetrigger</code></td></tr></tbody></table>

#### Examples

{% tabs %}
{% tab title="Command" %}
a.autoresponce has "{mention:705306248538488947}" "{member.tag} Please do not mention {mention.tag}."
{% endtab %}

{% tab title="Trigger" %}
Hey, @Dark-LYNN are you online?
{% endtab %}

{% tab title="Responce" %}
**@Lynnux** Please do not mention **@Dark-LYNN**.
{% endtab %}
{% endtabs %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://documentation.lynnux.xyz/akira/features/autoresponse.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
