# Invite Roles

### Basic Configuration

```yaml
InviteRoles:
  Enabled: true
  Tiers:
    1:
      Roles: ["ROLE_ID"]   # Example: Newbie Role
      Amount: 1            # Role unlocked at 1 invite
    2:
      Roles: ["ROLE_ID"]   # Example: Trusted Role
      Amount: 10           # Role unlocked at 10 invites
```

👉 Replace each `ROLE_ID` with real role IDs from your server.

***

### How It Works

* The bot tracks new joins via Discord’s invite system.
* When a user reaches the invite count of a tier, they get the corresponding role.
* Higher tiers override lower ones (user only keeps the **highest tier role** they qualify for).

***

### Commands

* `/invites` → Check your own invites
* `/invites @user` → Check another user’s invites
* `/inviter @user` → See who invited a user


---

# 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.drakodevelopment.net/moderation-and-roles/invite-roles.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.
