Skip to content

Dev mode page tidy up #54

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
46 changes: 20 additions & 26 deletions advanced/developer-mode.md
Original file line number Diff line number Diff line change
@@ -1,33 +1,21 @@
# What is Developer Mode?
# Using developer mode

Developer mode is a Discord feature that allows you to access the internal IDs used by Discord to refer to certain objects, such as users, servers, messages, channels, and roles. These can be used in place of such options in MoonlightBot's commands.
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.

# Using Developer Mode

To use developer mode, you need to enable it first. Instructions for enabling developer mode are provided [in the next section](#enabling-developer-mode).

Whenever MoonlightBot asks for something like a user, channel, etc., you can provide the ID as an option to make sure it is pointing to exactly what you want.

## Desktop/Web App

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

## Android App

For example, to copy the ID of a user in the Android app, tap on the user's profile, then tap on the three dots in the top right corner and click on **Copy ID**.

## iOS App

For example, to copy the ID of a user in the iOS app, tap on the user's profile, then tap on the three dots in the top right corner and click on **Copy ID**.
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

## Desktop/Web App
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](</.gitbook/assets/dev-mode/desktop/StepOne.png>)
Expand All @@ -44,11 +32,14 @@ For example, to copy the ID of a user in the iOS app, tap on the user's profile,

## Android App

1. Go to **User Profile** by clicking your avatar in the bottom right corner
2. Click again on your avatar in the bottom right corner or on the three dots in the top right corner
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. Click on the **Developer Mode** toggle and you're done!
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" %}
Expand All @@ -70,11 +61,14 @@ For example, to copy the ID of a user in the iOS app, tap on the user's profile,

## iOS App

1. Go to **User Profile** by clicking your avatar in the bottom right corner
2. Click again on your avatar in the bottom right corner or on the three dots in the top right corner
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. Click on the **Developer Mode** toggle and you're done!
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" %}
Expand Down