# $modifyOnboarding

Changes the onboarding of the server. What is not given keeps its value. Bot Creator function, not in the official BDFD wiki.

## Syntax

```
$modifyOnboarding[(guildID);(enabled);(mode);(defaultChannelIDs);(promptsJSON);(reason)]
```

## Parameters

| Parameter | Description |
|---|---|
| `guildID` | Optional. The ID of the server. Empty or absent: the current server. |
| `enabled` | Optional. `yes` or `no`. |
| `mode` | Optional. `default` or `advanced`. |
| `defaultChannelIDs` | Optional. Channel IDs separated by commas. |
| `promptsJSON` | Optional. The prompts, as the JSON list of Discord. |
| `reason` | Optional. Reason recorded in the server audit log (512 characters at most). |

## Return Value

- `true`.

## Example

```bdfd
$modifyOnboarding[;yes;default;123,456]
```
