# Triggers

The **Triggers** command allows you to create custom triggers for the bot. You can set specific words or phrases (triggers), and the bot will automatically respond with your predefined message whenever that trigger is detected.

{% hint style="danger" %}
You need the **ManageGuild** permission to use `/triggers` or `-triggers`.
{% endhint %}

## How to Use

1. **Trigger the Command**\
   You can use the command with either the **slash** or **prefix**:
   * `/triggers`
   * `-triggers`
2. **Select an Option**\
   After running the command, you will be prompted to choose one of the following options:

### Create

Create a new custom trigger. You will need to:

* **Enter the trigger word or phrase**: This is the word or phrase that, when typed by a user, will activate the bot's response.
* **Enter the response**: This is the message the bot will send when the trigger is detected.

### List

View the details of an existing trigger. You will be prompted to select the trigger you wish to view, and you will see information such as the trigger word and its associated response.

### Delete

Delete an existing trigger. You will be prompted to select the trigger you wish to delete.

## Additional Information

* Custom triggers are case-insensitive, so the bot will respond to the trigger regardless of how it's typed (e.g., "hi" or "HI").
* The bot will respond with your set message immediately when the trigger is detected in the chat.

## Permissions Needed

Ensure you have the **ManageGuild** permission to create, delete, or manage triggers.

***

For further assistance, refer to the bot's help menu or [contact our support server](https://discord.gg/cGNFnsXpwZ).


---

# Agent Instructions: 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:

```
GET https://docs.airwavy.xyz/overview/commands/admin/triggers.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
