···11111212This scrobbler uses **[Now Playing](/configuration/clients#now-playing)** functionality to set your Discord [Rich Presence](https://docs.discord.com/developers/rich-presence/overview) to the music you are currently monitoring with multi-scrobbler.
13131414+<img src={require('/img/discord_presence.png').default} height="131"/>
1515+1416:::warning[Discord TOS Violation]
15171618This functionality requires you to use your own **User Token** in a way that is **against Discord's policies/terms of service.** If you use this scrobbler you do so **at your risk**.
···49515052## Artwork
51535252-For some Sources, MS parses album art and displays it in the dashboard. This image can be displayed on Discord alongside your listening status.
5454+For some Sources, MS parses album art and displays it in the dashboard. If a Discord **Application Id** is provided then this image can be displayed on Discord alongside your listening status.
5555+5656+If no Application Id is provided Discord will always show a default image next to your status.
5757+5858+<details>
5959+6060+<summary>Create An Application</summary>
6161+6262+Go to the [Discord Developer Portal](https://discord.com/developers/applications)
6363+6464+* Click on "New Application" and give it a name
6565+* Copy the **Application Id** (Client Id) shown after creation
6666+6767+</details>
6868+6969+Discord needs an **external, internet-facing** URL to correctly display this image which may not be feasible, or desirable, based on the Sources you are using. Multi-scrobbler disallows **all** external URLs by default.
7070+7171+<details>
7272+7373+<summary>Using External URLs</summary>
53745454-However, Discord needs a *direct, internet-facing* URL to correctly display this image which may not be feasible, or desirable, based on each of your Sources. For example:
7575+There are some scenarios where you may not want to use your artwork URLs, for example:
55765677* A Source may be accessible only on your LAN (Jellyfin at `http://192.168.0.101`)
5778* A Source may be internet-facing but you do not want to expose this information to discord/other users
···6283* To allow **any** `https` album art URLs set ENV `DISCORD_ARTWORK=true`
6384* To allow only `https` album art URLs from certain domains use a list of keywords like `DISCORD_ARTWORK=spotify,jellyfin` (or in file as `"artwork": ["spotify","jellyfin"]`)
64856565-If listening activity does not have album art, or the URL is disallowed, MS will use a fallback image of the multi-scrobbler logo. You can customize this fallback image with ENV `DISCORD_ARTWORK_DEFAULT_URL` or in file config with `artworkDefaultUrl`
8686+If a listening activity does not have album art, or the URL is disallowed, MS will use the [multi-scrobbler logo](https://github.com/FoxxMD/multi-scrobbler/blob/master/assets/icon.png) as a fallback image.
8787+8888+You can customize this fallback image with ENV `DISCORD_ARTWORK_DEFAULT_URL` or in file config with `artworkDefaultUrl`. If you were prefer to use the discord default image set this value to `false`.
8989+9090+</details>
66916792## Configuration
68936994<Config config="DiscordClientConfig" fileContent={JsonConfig} client name="discord">
7070- | Environmental Variable | Required? | Default | Description |
7171- | :---------------------------- | --------- | ------- | :--------------------------------------------------------------------------------------------------------- |
7272- | `DISCORD_TOKEN` | Yes | | User Token acquired from an active Discord sessions |
7373- | `DISCORD_ARTWORK` | No | | A boolean indicating if external artwork URLs should be used. Or a comma-separated list of allowed domains |
7474- | `DISCORD_ARTWORK_DEFAULT_URL` | No | | A URL of an image to use as a fallback if the album art URL cannot be used |
9595+ | Environmental Variable | Required? | Default | Description |
9696+ | :---------------------------- | --------- | ------- | :--------------------------------------------------------------------------------------------------------------- |
9797+ | `DISCORD_TOKEN` | Yes | | User Token acquired from an active Discord sessions |
9898+ | `DISCORD_ARTWORK` | No | | A boolean indicating if external artwork URLs should be used. Or a comma-separated list of allowed domains |
9999+ | `DISCORD_ARTWORK_DEFAULT_URL` | No | | A URL of an image to use as a fallback if the album art URL cannot be used. Or `false` to use discord's default. |
75100</Config>