# Discord Rich Presence

{% hint style="info" %}
Rich presence is included with all versions of Sonoran CAD, but customization requires the **Standard** plan or higher, and the **Pro** plan for complete customization with the icon.\
For more information, see our [pricing](https://docs.sonoransoftware.com/cad/pricing/faq) or view how to check your community [limits](https://docs.sonoransoftware.com/cad/tutorials/getting-started/view-your-limits).
{% endhint %}

## What is Discord Rich Presence?

When running our [desktop application](https://docs.sonoransoftware.com/cad/download), Discord can automatically detect and display information about your community.

![Sonoran CAD - Discord Rich Presence](https://232668649-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M4pGN81fb4R6zFhodcu%2F-MfApnru29Yycx8cOoaM%2F-MfBZHrRLtBNIQRNRY2U%2Fimage.png?alt=media\&token=f970585b-e2e2-4fc1-8a15-d96ee52b0ac4)

## Customizing your Rich Presence

![Sonoran CAD - Discord Presence Customization](https://232668649-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M4pGN81fb4R6zFhodcu%2F-MfFkLL9drQajLLeSrBO%2F-MfFk_cL48Malw6Zvd2C%2Fimage.png?alt=media\&token=2660a58a-78df-440f-9982-6452f628bfb8)

### Customizing Buttons

Discord presence currently allows for two customizable buttons.

Navigate to Admin > Customization > Customization > Discord Rich Presence

#### For communities on the **Standard** plan or higher:

\- Button #2 may be customized to any [Sonoran CAD](https://docs.sonoransoftware.com/cad/tutorials/customization/custom-login-page#in-game-tablet) or [Sonoran CMS](https://info.sonorancms.com/why-choose-sonoran-cms/why-choose-sonoran-cms) invitation link.\
\- Ex: `https://sonorancad.com/#/?comid=mycommunityid` or `https://sonorancms.com/#/?comid=mycommunityid`

#### For communities on the Pro plan:

\- Both buttons may be customized to any URL desired.\
\- The Icon and title can also be customized with a Discord developer application.

### Customizing the Icon

Communities on the **Pro** version may customize the rich presence icon:

#### 1. Create a new Discord Application

On <https://discord.com/developers/applications> create a new application

![Discord Developer - New Application](https://232668649-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M4pGN81fb4R6zFhodcu%2F-MfFkLL9drQajLLeSrBO%2F-MfFmFqG1nMoBSE5Vw3m%2Fimage.png?alt=media\&token=8c566c4e-dff1-46e3-a41f-d6ac7b5222f9)

#### 2. Copy your Client ID

Under OAuth2, copy your `Client ID`&#x20;

![Discord Developer - Application Client ID](https://232668649-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M4pGN81fb4R6zFhodcu%2F-MfFkLL9drQajLLeSrBO%2F-MfFmblCUDZdSEZNzLEe%2Fimage.png?alt=media\&token=65c48999-c3ae-4158-a3cd-5df34cdf13cd)

#### 3. Add an Icon

Next, upload an icon for your new application. Be sure to copy down the name of the icon for later.

![Discord Developer - Application Icon](https://232668649-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M4pGN81fb4R6zFhodcu%2F-MfFkLL9drQajLLeSrBO%2F-MfFmtsZeWwUcM-fG1wt%2Fimage.png?alt=media\&token=412bfc09-dc5e-44c4-b0d1-01eb39b14b93)

#### 4. Configure in Sonoran CAD

Back in the admin customization menu, we can paste the Discord application's Client ID and Icon name.

![Sonoran CAD - Custom Discord Presence Config](https://232668649-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M4pGN81fb4R6zFhodcu%2F-MfFkLL9drQajLLeSrBO%2F-MfFn9ySa07Ih53WX_1g%2Fimage.png?alt=media\&token=ef3b0e78-59e6-49d6-996f-1cdbe1a3f996)

Once saved, your Discord presence for all community members will reflect your custom icon, title, and buttons.

![Sonoran CAD - Custom Discord Presence View](https://232668649-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M4pGN81fb4R6zFhodcu%2F-MfFkLL9drQajLLeSrBO%2F-MfFne7EdccZWmlmylbM%2Fimage.png?alt=media\&token=168acc38-1883-4e46-9c0f-478f931193c9)

## Toggle On/Off Rich Presence

### Community Toggle

To hide the invite button for your community's Discord rich presence, simply leave the button text and URL blank.

### User Toggle

In the settings menu, users can toggle this display on or off for their individual desktop client.

![Sonoran CAD Settings - Disable Discord's Rich Presence](https://232668649-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M4pGN81fb4R6zFhodcu%2F-MfApnru29Yycx8cOoaM%2F-MfBcorvmMRL8mBU5wKB%2Fimage.png?alt=media\&token=1b68c241-65c1-4ffa-b8ad-356caa0bd4a8)

## Known Issues

#### My presence visible, but not to others?

If your Discord presence is visible to you personally but not to others, ensure the button labels don't include any sort of `:emoji:` in them.
