teleport_status

From SmartBots Developers Docs
Bot PlaygroundEvents
Revision as of 07:53, 12 October 2022 by Gg (Talk | contribs)

Jump to: navigation, search

Fires when bot starts teleporting. Not available for QubicBot yet (?)

Bot.on("teleport_status", function(event) { ... });

Reference

This event comes with the following event object:

Variable Required Description
event object properties:
name The name of the event in this case teleport_status
bot_name The name of the bot teleporting.
message The status message of the teleport
status The status of the teleport. (Start/Progress/Finished)
bot_uuid The UUID of the bot teleporting.
location The current location of the bot.

Example

console.log(`${process.name} started`);

Bot.on("teleport_status", (event) => {
    console.log(`teleport status event: `, event);
});