Skip to content

Auth

Type: Bot

Initial information available about the account.

Type: LoginInfo | null

The password of the current user.

Type: string

The list of servers as shown to the client.

Type: Server[]

The username of the current user.

Type: string

Connects to a server.

ParameterTypeDescription
namestringThe name of the server.

Returns: boolean

Whether the user is logged in and connected to a server.

Returns: boolean

Whether the client is temporarily kicked from the server.

Returns: boolean

Log in with an account.

ParameterTypeDescription
usernamestringThe username to login with.
passwordstringThe password to login with.

Returns: void

Logs out of the current account.

Returns: void