> ## 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.

# Birthday

> Learn how to setup birthday messages or set your birthday with Haunt!

## Setting your Birthday

<p>
  You can start with the `birthday set` command.<br />
  You can set your birthday by following the examples below!
</p>

<Warning>Make sure to set the **correct birthday** since you can only do it **once**.</Warning>

<CodeGroup>
  ```javascript Syntax theme={null}
  ;birthday set (date)
  ```

  ```javascript Example theme={null}
  ;birthday set 8/14
  ```

  ```javascript Example 2 theme={null}
  ;birthday set august 14
  ```

  ```javascript Example With Suffix theme={null}
  ;birthday set august 14th
  ```
</CodeGroup>

<p>
  Before you set your birthday, Make sure to confirm it's the correct date.
</p>

<Frame>
  <img src="https://mintcdn.com/haunt-74016d1b/WSKnNjTaOIHIhFm9/images/miscellaneous/birthday/set.png?fit=max&auto=format&n=WSKnNjTaOIHIhFm9&q=85&s=8435d6db7e79fa175bf28cb9b822c2de" width="572" height="219" data-path="images/miscellaneous/birthday/set.png" />
</Frame>

## Viewing your Birthday

<p>
  View you or another member's birthday by using the `birthday view` command!
</p>

<CodeGroup>
  ```javascript Syntax theme={null}
  ;birthday view [member]
  ```

  ```javascript Example theme={null}
  ;birthday view 
  ```
</CodeGroup>

<Frame>
  <img src="https://mintcdn.com/haunt-74016d1b/WSKnNjTaOIHIhFm9/images/miscellaneous/birthday/view.png?fit=max&auto=format&n=WSKnNjTaOIHIhFm9&q=85&s=24310c49a687c8bbdaa9cb7a3c6ba7a7" width="438" height="180" data-path="images/miscellaneous/birthday/view.png" />
</Frame>

### Viewing every member's birthday

<p>
  View every person's birthday that's in your server!
</p>

<CodeGroup>
  ```javascript Syntax theme={null}
  ;birthday list
  ```

  ```javascript Example theme={null}
  ;birthday list
  ```
</CodeGroup>

## Configuring Haunt's Birthday Settings

<p>
  Learn how to setup Haunt's birthday settings for celebrating your member's birthday!<br />
  Start with the `birthday enable` command.
</p>

<CodeGroup>
  ```javascript Syntax theme={null}
  ;birthday enable
  ```

  ```javascript Example theme={null}
  ;birthday enable
  ```
</CodeGroup>

### Setting a Birthday Role

<p>
  Start with the `birthday role` command.<br />
  This role will be given to members when it's their birthday!
</p>

<CodeGroup>
  ```javascript Syntax theme={null}
  ;birthday role (role)
  ```

  ```javascript Example theme={null}
  ;birthday role @bday
  ```
</CodeGroup>

<Frame>
  <img src="https://mintcdn.com/haunt-74016d1b/WSKnNjTaOIHIhFm9/images/miscellaneous/birthday/role.png?fit=max&auto=format&n=WSKnNjTaOIHIhFm9&q=85&s=87cc4db5794d60e92fb9ef0c91420d1d" width="647" height="159" data-path="images/miscellaneous/birthday/role.png" />
</Frame>

### Setting a Birthday Message

<Note>You can use [**Embeds**](/resources/embeds/scripting) and [**Variables**](/resources/embeds/variables) while creating a custom message.</Note>

<p>
  Start with the `birthday message` command.<br />
  This will send a custom message when it's a member's birthday!
</p>

<CodeGroup>
  ```javascript Syntax theme={null}
  ;birthday message (text)
  ```

  ```javascript Example theme={null}
  ;birthday message Happy Birthday {user}, Today is {birthday.date}
  ```

  ```javascript Example with Embeds theme={null}
  ;birthday message {"embeds":[{"description":"Happy Birthday {user}, Today is {birthday.date}","color":16777215}]}
  ```
</CodeGroup>

<Frame>
  <img src="https://mintcdn.com/haunt-74016d1b/WSKnNjTaOIHIhFm9/images/miscellaneous/birthday/message.png?fit=max&auto=format&n=WSKnNjTaOIHIhFm9&q=85&s=8e379c30d9ae7416d70b8479d174a050" width="948" height="374" data-path="images/miscellaneous/birthday/message.png" />
</Frame>

### Setting a Birthday Channel

<p>
  Start with the `birthday channel` command.<br />
  This sets the **channel** to send the **birthday messages**
</p>

<CodeGroup>
  ```javascript Syntax theme={null}
  ;birthday channel (channel)
  ```

  ```javascript Example theme={null}
  ;birthday channel #birthdays
  ```
</CodeGroup>

<Frame>
  <img src="https://mintcdn.com/haunt-74016d1b/WSKnNjTaOIHIhFm9/images/miscellaneous/birthday/channel.png?fit=max&auto=format&n=WSKnNjTaOIHIhFm9&q=85&s=764fd623f875773ef535acf2e912b0af" width="504" height="164" data-path="images/miscellaneous/birthday/channel.png" />
</Frame>
