$setStatus
$setStatus will change the client’s status.
Usage
$setStatus[name;type?;status?;URL?;afk?]Parameters
| Field | Type | Description | Required |
|---|---|---|---|
| name | string | The content of the status. | true |
| type | string, number | 1. PLAYING (default) 2. WATCHING 3. STREAMING 4. LISTENING 5. COMPETING | false |
| status | string | 1. online (default) 2. idle 3. dnd 4. invisible | false |
| URL | string | URL (streaming status) | false |
| afk? | boolean | 1. true 2. false (default) | false |
Example(s)
This will change the client’s status to PLAYING and online:
1client.command({2 name: "setStatus",3 code: `4 $setStatus[Hello!;PLAYING;online]`5});