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

# Flags

> View the available flags that you can use with haunt

## What flags can I use?

<Info>Reminder that these flags don't work on every command.</Info>

| Flag | Explanation | Example |
| - | - | - |
| `{delete}` | Delete a message after a certain duration | `{delete: 1m30s}` |
| `{cooldown}` | Set a cooldown for when a message can trigger | `{cooldown: 1 minute}` |
| `{required}` | Set the roles required to enter a giveaway | `{required: @booster, @donator}` |
| `{bonus}` | Set the roles that get a bonus entry | `{bonus: @booster 3, @donator 5}` |
| `{loose}` | Turn on loose matching for a response trigger | `{loose}` |
| `{reply}` | Turn on reply mode for a response trigger | `{reply}` |
| `{multiple_choice}` | Allow a poll to have multiple choices | `{multiple_choice}` |
| `{duration}` | Set the duration of a poll | `{duration: 24 hours}` |
| `{channel}` | Send a giveaway to another channel | `{channel: #giveaways}` |

## What are flags?

Flags are optional parameters you can use to change how a message or command behaves.<br />
Below is an example how to find what commands support flag usage.

<Frame>
  <img src="https://mintcdn.com/haunt-74016d1b/YY3EZeKOoc6eygfl/images/flags/flags.png?fit=max&auto=format&n=YY3EZeKOoc6eygfl&q=85&s=7761dd51e02fe93350c4b67e63045013" width="582" height="415" data-path="images/flags/flags.png" />
</Frame>

## How can I use a flag?

Below is an example of how to use a flag in a command.<br />
Here I use the `{delete}` flag which will delete the message after **5 seconds**.

<Frame>
  <img src="https://mintcdn.com/haunt-74016d1b/4fKj3rKhw8Iy2dvA/images/flags/example.png?fit=max&auto=format&n=4fKj3rKhw8Iy2dvA&q=85&s=0b2c1d17de476416affbe091c71c65fc" width="710" height="303" data-path="images/flags/example.png" />
</Frame>


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