logout

From SmartBots Developers Docs
Jump to: navigation, search

Initiates bot logout sequence.

Bot.logout();

Reference

This command accepts the following parameters:

Variable Required Description


Input:
--- this function does not require any arguments
Output:
Function returns a Promise with the following data:
success bool true if command completed successfully
error string error string if command has failed

Examples

Bot.logout();