logout

Initiates the bot logout sequence.

Bot.logout();

Input

This function does not require any arguments.

Output

Function returns a Promise with the following data:

Variable

Type

Description

success

bool

True if command completed successfully

error

string

Error string if command has failed