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

# Server Messages

> Send messages when events within the server occur.

## Events

The following events can trigger a response.

* `boosts` - Triggered when a user **boosts** the guild.

* `welcome` - Triggered when a user **joins** the guild.

* `goodbye` - Triggered when a user **leaves** the guild.

## Commands

<Tip>
  An [embed](https://docs.loti.bot/configuration/embeds) with [variables](https://docs.loti.bot/configuration/variables) can also be used!
</Tip>

### Creating a booster message

Setup your custom booster message.

<CodeGroup>
  ```plaintext Syntax theme={null}
  ,boosts add (channel) (message)
  ```

  ```plaintext Example theme={null}
  ,boosts add #general thanks for boosting!
  ```
</CodeGroup>

### Removing a booster message

Removes the booster message.

<CodeGroup>
  ```plaintext Syntax theme={null}
  ,boosts remove #channel
  ```
</CodeGroup>

### view the booster message

<CodeGroup>
  ```plaintext Syntax theme={null}
  ,boosts view
  ```
</CodeGroup>

<Info>
  The examples below use the `welcome`command, but the same format applies to the `goodbye `command.
</Info>

### Adding a welcome message

Add a welcome message for a channel

<CodeGroup>
  ```plaintext Syntax theme={null}
  ,welcome add (channel) (message)
  ```

  ```plaintext Example theme={null}
  ,welcome add #welc {embed}{description: Welcome to the server {user.mention}}
  ```
</CodeGroup>

### Deleting a welcome message

<Tip>
  The identifier can be found by using `,welcome list` and using the number specified.
</Tip>

<CodeGroup>
  ```plaintext Syntax theme={null}
  ,welcome delete (identifier)
  ```

  ```plaintext Example theme={null}
  ,welcome delete 1
  ```
</CodeGroup>

### Viewing the set welcome message for a channel

<CodeGroup>
  ```plaintext Syntax theme={null}
  ,welcome view (channel)
  ```

  ```plaintext Example theme={null}
  ,welcome view #general
  ```
</CodeGroup>

### List all the welcome messages in the guild

<CodeGroup>
  ```plaintext Syntax theme={null}
  ,welcome list
  ```
</CodeGroup>
