# 2. Configure the GuildID

After inviting your bot on your server, you'll the ID of your server.&#x20;

To get it, you need to have discord in developper mode, like this:

![](/files/AanH21tPQYobbtpRAtiU)

Then right click on your server in the server list, and click: "COPY ID"

![](/files/3UkQc4k6fUrRGRaHwfPE)

Then now, you can put this in the config.lua file at line 3 (DP\_Discord.GuildID) :&#x20;

![](/files/waBeFeUPfMskrxIfYaFf)


---

# 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://dp-store.gitbook.io/force-discord-presence/guides/2.-configure-the-guildid.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.
