logout
From SmartBots Developers Docs
Bot PlaygroundCommands
Revision as of 15:52, 1 July 2016 by Phil (Talk | contribs) (Created page with "{{DISPLAYTITLE:{{SUBPAGENAME}}}} <onlyinclude>Initiates bot logout sequence.</onlyinclude> <syntaxhighlight lang="javascript"> Bot.logout(); </syntaxhighlight> {{API Command...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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();
- logout