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

# Use custom emoji in status messages

> Copy a custom Discord emoji's ID and use it in the PteroStats online and offline status messages.

PteroStats shows `:green_circle: Online` and `:red_circle: Offline` by default. You can replace them with custom emoji from your Discord server.

> [!NOTE]
>
> The app/bot must be in the server that owns the emoji, or the emoji will not render.

## Get the emoji ID

**1. Type a backslash**

In a channel on the server that has the emoji, type `\`.

![Backslash typed in the chat box](https://usercontent.catto.pictures/hirzi/2e3c821f-92f9-4b5c-863a-e020b2fbc426.png)

**2. Pick the emoji**

Select the custom emoji right after the backslash.

![Custom emoji selected](https://usercontent.catto.pictures/hirzi/7c071727-2adb-4c8c-91d3-21664948a334.png)

**3. Copy the emoji code**

Send the message. Discord shows the raw code, such as `<:online:123456789012345678>`. Copy it.

![Raw emoji code in chat](https://usercontent.catto.pictures/hirzi/bd0084ac-f11b-413d-8b66-580efc011908.png)

## Add it to the config

**1. Edit the status messages**

Open `config.yml` and paste the code into `status`.

```yaml config.yml theme={"dark"}
status:
  online: "<:online:123456789012345678> Online"
  offline: "<:offline:123456789012345678> Offline"
```

![Status config with custom emoji](https://usercontent.catto.pictures/hirzi/369cf7af-ae32-4193-9b09-195ba6f71f62.png)

**2. Restart PteroStats**

Restart the app/bot so it loads the updated config.


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