setOnline

Set the current account’s online status. User-only.

Parameters

online: boolean

The new online status.

Result

void

Syntax

await client.setOnline(online);