# Using developer mode

Developer mode is a Discord feature that allows you to access the unique internal IDs used to refer to certain entities, such as users, roles, servers, messages and channels.

Whenever MoonlightBot asks you to specify an entity you can provide the ID as an option to make sure it is pointing exactly to what you want. Additionally, you can paste IDs into the search bar to quickly retrieve their entity's history even if their names change over time.

## Enabling Developer Mode

To use developer mode, you need to enable it first. See the next sections for instructions depending on your device.

### Desktop / Web App

1. Go to **User Settings** by clicking the gear icon in the bottom left of the window
2. Go to "**Advanced**"
3. Click on the **Developer mode** toggle and you're done!

To copy the ID of an entity in the desktop or web app, right-click the entity and click on the **Copy ID** option.

{% tabs %}
{% tab title="Step 1" %}
![Image depicting step one on desktop](/files/IGwPFiUtHLL14sokGOm2)
{% endtab %}

{% tab title="Step 2" %}
![Image depicting step two on desktop](/files/TxzJ4bvh9wUF9vmADUo5)
{% endtab %}

{% tab title="Step 3" %}
![Image depicting step three on desktop](/files/RD5gnUoT2ShJdu5PoamD)
{% endtab %}
{% endtabs %}

### Android App

1. Go to **User Profile** by tapping your avatar in the bottom right corner
2. Tap again on your avatar in the bottom right corner or on the settings icon in the top right corner
3. Scroll down until the **Advanced** section
4. Open **Advanced**
5. Tap on the **Developer Mode** toggle and you're done!

To copy the ID of a user, tap on the user's profile, open the menu by tapping on the three dots in the top right corner and finally tap on **Copy User ID**. For all other entities, hold the entity and tap on **Copy ID**.

{% tabs %}
{% tab title="Step 1" %}
![Image depicting step one on an Android device](/files/Ta1eSVszAUpfpnjdjQHo)
{% endtab %}

{% tab title="Step 2" %}
![Image depicting step two on an Android device](/files/vpyf5uODb3p7RgGD1lYj)
{% endtab %}

{% tab title="Step 3" %}
![Image depicting step three on an Android device](/files/KHcNjNTBoJ6M6OvSspt3)
{% endtab %}

{% tab title="Step 4" %}
![Image depicting step four on an Android device](/files/Gbyr7VFMXEkEdlIhXIaC)
{% endtab %}
{% endtabs %}

### iOS App

1. Go to **User Profile** by tapping your avatar in the bottom right corner
2. Tap again on your avatar in the bottom right corner or on the settings icon in the top right corner
3. Scroll down until the **Advanced** section
4. Open **Advanced**
5. Tap on the **Developer Mode** toggle and you're done!

To copy the ID of a user, tap on the user's profile, then tap on the three dots in the top right corner and finally tap on **Copy User ID**. For all other entities, hold the entity and tap on **Copy ID**.

{% tabs %}
{% tab title="Step 1" %}
![Image depicting step one on an iOS device](/files/fUS8SbSQS1IBwJHCFwMZ)
{% endtab %}

{% tab title="Step 2" %}
![Image depicting step two on an iOS device](/files/vczdPfdrKiwssXdznLIZ)
{% endtab %}

{% tab title="Step 3" %}
![Image depicting step three on an iOS device](/files/J3Ug4NfoLLcaWZsKGxdg)
{% endtab %}

{% tab title="Step 4" %}
![Image depicting step four on an iOS device](/files/QQsaaIVveDvsj5XLVveP)
{% endtab %}
{% endtabs %}


---

# 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://moonlightbot.gitbook.io/docs/advanced/developer-mode.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.
