Skip to content

$setStatus

$setStatus will change the client’s status.

Usage

$setStatus[name;type?;status?;URL?;afk?]

Parameters

FieldTypeDescriptionRequired
namestringThe content of the status.true
typestring, number1. PLAYING (default)
2. WATCHING
3. STREAMING
4. LISTENING
5. COMPETING
false
statusstring1. online (default)
2. idle
3. dnd
4. invisible
false
URLstringURL (streaming status)false
afk?boolean1. true
2. false (default)
false

Example(s)

This will change the client’s status to PLAYING and online:

1
client.command({
2
name: "setStatus",
3
code: `
4
$setStatus[Hello!;PLAYING;online]`
5
});