# 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 %}
