> For the complete documentation index, see [llms.txt](https://docs.simonmaribo.dk/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.simonmaribo.dk/plugins/discord-link/installation.md).

# 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 %}
