# $setBotStatus

Changes the presence of the bot while it runs. It replaces the configured status rotation until the bot restarts or its configuration is synced again; one change every 15 seconds at most. Bot Creator function, not in the official BDFD wiki.

## Syntax

```
$setBotStatus[status;(activityType);(text);(url)]
```

## Parameters

| Parameter | Description |
|---|---|
| `status` | **Required.** `online`, `idle`, `dnd` or `invisible`. |
| `activityType` | Optional. `playing`, `streaming`, `listening`, `watching`, `competing` or `custom` (default). |
| `text` | Optional. The text, 128 characters at most. |
| `url` | Optional. A Twitch or YouTube URL for `streaming`. |

## Return Value

- Nothing.

## Example

```bdfd
$setBotStatus[dnd;watching;the server]
```
