# Installation

* **Stop** din server.

* Put **DiscordLink.jar** filen ind i din **/plugins** mappen.

* **Start** din server.

* **Indsæt** licensnøgle i **config.yml**

* **Opret en bot på** [**https://discord.com/developers/applications**](https://discord.com/developers/applications)

  *

  ```
  <figure><img src="/files/hZjDLELqkHvmq6mgBoGK" alt=""><figcaption><p>Opret Application på Discord</p></figcaption></figure>
  ```

  ```
  <figure><img src="/files/IoVy9aqGgza9adWHXjRC" alt=""><figcaption><p>Sørg for at aktivere "Message Content Intent"<br></p></figcaption></figure>

  <figure><img src="/files/4UouLMwk9ra1xg20UXZv" alt=""><figcaption><p>Botten skal have disse scopes - særlig "applications.commands" er vigtigt!</p></figcaption></figure>



  <figure><img src="/files/wlWi5VZU9CexbtBHir0n" alt=""><figcaption><p>Disse permissions skal botten mindst have.</p></figcaption></figure>
  ```

* Udfyld \`config.yml\` med de nødvendige oplysninger.

* **Genstart** din server.

{% hint style="info" %}
Bemærk det godt kan tage op til 10 minutter før Discord har registeret de nye slash commands.
{% endhint %}


---

# 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://docs.simonmaribo.dk/plugins/discord-link/installation.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.
