# Settings

Running the command `/settings` allows you to manage many different aspects of how Sonoran Bot interacts with your Discord and CMS.

![SonoranBot - /settings command](https://986342217-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FgJnyZgUQPWpA5p9njAAR%2Fuploads%2Fgit-blob-7726ba6812e9d0a656807c473c22d01abbacf72e%2Fbot_settings.png?alt=media)

## API Settings <a href="#api-settings" id="api-settings"></a>

Within the `/settings` menu, you can select API Settings, which will give you the options to change or delete the settings for your linked CAD and CMS communities.

![SonoranBot - API Settings](https://986342217-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FgJnyZgUQPWpA5p9njAAR%2Fuploads%2Fgit-blob-5c0784e275a20b295f997d435f091f2943e7c6e0%2Fbot_apisettings.png?alt=media)

## CMS Settings <a href="#cms-settings" id="cms-settings"></a>

#### CMS Settings Menu

Many of the following settings can be toggled from within CMS in the settings menu located at  `Admin` > `Integrations` > `Discord` > `Settings`

<figure><img src="https://986342217-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FgJnyZgUQPWpA5p9njAAR%2Fuploads%2FPm7LAwPZ7YbAVT8LNuGr%2Fimage.png?alt=media&#x26;token=9001a20f-d8c0-4d03-9e6a-254e334d0521" alt="" width="375"><figcaption></figcaption></figure>

### Branding Removal

CMS communities with [branding removal](https://docs.sonoransoftware.com/cms/pricing/pricing-faq/branding-removal) can customize the avatar, nickname, banner image, and bio!

Once set in the CMS Discord settings panel, the changes can take up to five minutes to be reflected due to Discord rate limits.

### [Calendar Sync](https://docs.sonoransoftware.com/bot/tutorials/sonoran-cms-integration/calendar-event-sync) <a href="#calendarevents-settings" id="calendarevents-settings"></a>

Allows you to toggle sync between CMS calendar events and your Discord. Enabling this will create a Discord event for any calendar events created in CMS.

This can also be toggled from CMS in `Admin` > `Integrations` > `Discord` > `Settings`

### Name Sync <a href="#namesync-settings" id="namesync-settings"></a>

Name sync allows you to sync the names between Sonoran CMS and Discord.

This can also be toggled and configured from the CMS in `Admin` > `Integrations` > `Discord` > `Settings`

#### CMS -> Discord Mode

Enabling Name Sync in CMS -> Discord mode will automatically change the nicknames of all users in the Discord server to their corresponding CMS community names.

The name it shows is whatever you've set in [CMS's Name Customizations settings](https://info.sonorancms.com/tutorials/customization/community-branding-and-settings#community-name-customization).

Thus, a hypothetical user whose name is displayed as `John Doe | 1A` would receive that as a nickname in Discord.

#### Discord -> CMS Mode

Enabling Name Sync in Discord -> CMS mode will update users' CMS display names to match their Discord server name.

### Clock In/Out <a href="#cmsclock-settings" id="cmsclock-settings"></a>

Toggles the ability to clock in and out in CMS from Discord. If enabled, users can do `/clockincms` to clock in or `/clockoutcms` to clock out. This will automatically send clock information to CMS.

For more information on CMS's time clock system, [see its documentation here](https://info.sonorancms.com/tutorials/forms/clock-in-out-system).

This can also be toggled from CMS in `Admin` > `Integrations` > `Discord` > `Settings`

### Ban Sync

Syncs CMS & Discord Guild bans with your community. If a user is banned from one, they will also automatically be banned from the other, and vice versa. Banning a user in a linked Discord guild will also ban them in the CMS.

This can also be toggled from CMS in `Admin` > `Integrations` > `Discord` > `Settings`

## Role Sync Settings <a href="#role-sync-settings" id="role-sync-settings"></a>

### Toggle Kick On Leave

This will automatically remove a user from CMS if they leave or are banned from the Discord.&#x20;

Likewise, it will also automatically remove a user from the Discord Guild if they leave the CMS community.

This can also be toggled from CMS in `Admin` > `Integrations` > `Discord` > `Settings`

## Logging Settings <a href="#logging-settings" id="logging-settings"></a>

Allows you to set or change the General logging channel and the Moderation logging channel.

![SonoranBot - Set Logging Channel](https://986342217-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FgJnyZgUQPWpA5p9njAAR%2Fuploads%2Fgit-blob-accf9715a9d89a55ed9c15a682bb4c6b199b1805%2Fbot_setloggingchannel.png?alt=media)
