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 |
|---|---|---|
| bool | True if command completed successfully |
| string | Error string if command has failed |