login
Initiates the bot login sequence.
Bot.login(location);Input
Variable | Required | Description |
|---|---|---|
| optional | The initial location to log in to. Leave blank to log in at the previous location. |
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 |
Examples
Bot.login("DuoLife/206/36/94");