teleport
Teleports the bot to a specific location.
Bot.teleport(location);Input
Variable | Required | Description |
|---|---|---|
| yes | Address of the new location in the format: |
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
Teleport the bot to the SmartBots office:
Bot.teleport("DuoLife/128/128/20");Teleport the bot to its home location:
Bot.teleport("HOME");