offerTeleport

From SmartBots Developers Docs
Jump to: navigation, search

Sends a teleport offer to the resident.

Bot.offerTeleport(avatar, message);

Reference

This command accepts the following parameters:

Variable Required Description


offerTeleport:
avatar yes the UUID of the resident
message optional message to send
Output:
Function returns a Promise with the following data:
success bool true if command completed successfully
error string error string if command has failed