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

# Tracking

> Track username changes and vanity URLs with notifications in Greed

The Tracking feature allows you to monitor username changes and vanity URL availability. Get notified when usernames become available or when server vanity URLs are dropped.

## Requirements

* Server must have at least one text channel for notifications
* Bot must have permissions to:
  * Send messages
  * Embed links
  * View channels

## Username Tracking

### Set Notification Channel

<CodeGroup>
  ```bash Syntax theme={null}
  ,tracking username channel (channel)
  ```

  ```bash Example theme={null}
  ,tracking username channel #username-changes
  ```
</CodeGroup>

### Remove Notification Channel

<CodeGroup>
  ```bash Syntax theme={null}
  ,tracking username unset
  ```

  ```bash Example theme={null}
  ,tracking username unset
  ```
</CodeGroup>

## Vanity URL Tracking

### Set Vanity Channel

<CodeGroup>
  ```bash Syntax theme={null}
  ,tracking vanity set (channel)
  ```

  ```bash Example theme={null}
  ,tracking vanity set #vanity-updates
  ```
</CodeGroup>

### Remove Vanity Channel

<CodeGroup>
  ```bash Syntax theme={null}
  ,tracking vanity unset
  ```

  ```bash Example theme={null}
  ,tracking vanity unset
  ```
</CodeGroup>

## Notifications

### Add Notification

<CodeGroup>
  ```bash Syntax theme={null}
  ,notify add (type) (name)
  ```

  ```bash Example theme={null}
  ,notify add vanity greed
  ,notify add username coolname
  ```
</CodeGroup>

Types:

* `vanity`: Track server vanity URLs
* `username`: Track usernames

### List Notifications

<CodeGroup>
  ```bash Syntax theme={null}
  ,notify list
  ```

  ```bash Example theme={null}
  ,notify list
  ```
</CodeGroup>

### Remove Notification

<CodeGroup>
  ```bash Syntax theme={null}
  ,notify remove (type) (name)
  ```

  ```bash Example theme={null}
  ,notify remove vanity greed
  ,notify remove username coolname
  ```
</CodeGroup>

## Lookup

### Available Usernames

<CodeGroup>
  ```bash Syntax theme={null}
  ,lookup [length]
  ,lookup usernames [length]
  ```

  ```bash Example theme={null}
  ,lookup 3
  ,lookup usernames 4
  ```
</CodeGroup>

### Available Vanities

<CodeGroup>
  ```bash Syntax theme={null}
  ,lookup vanities [length]
  ```

  ```bash Example theme={null}
  ,lookup vanities 3
  ,lookup vanities 4
  ```
</CodeGroup>

## Server Tags

### View Tags

<CodeGroup>
  ```bash Syntax theme={null}
  ,tags [tag]
  ```

  ```bash Example theme={null}
  ,tags
  ,tags fire
  ```
</CodeGroup>

### Lookup by Tag

<CodeGroup>
  ```bash Syntax theme={null}
  ,tags lookup (tag)
  ```

  ```bash Example theme={null}
  ,tags lookup fire
  ,tags lookup heart
  ```
</CodeGroup>

### Submit Server

<CodeGroup>
  ```bash Syntax theme={null}
  ,tags submit (invite)
  ```

  ```bash Example theme={null}
  ,tags submit discord.gg/greed
  ```
</CodeGroup>

<Note>
  * Usernames become available 14 days after being dropped
  * Vanity URLs become available 7 days after being dropped
  * Server submissions require a vanity URL and server icon
</Note>

<Warning>
  Make sure the bot has proper permissions in the notification channels to send messages and embeds.
</Warning>
