fly
From SmartBots Developers Docs
Bot PlaygroundCommands
Revision as of 10:35, 7 December 2023 by Gg (Talk | contribs) (Created page with "{{DISPLAYTITLE:{{SUBPAGENAME}}}} <onlyinclude>Starts or stops flying.</onlyinclude> <syntaxhighlight lang="javascript"> Bot.fly(isFlying); </syntaxhighlight> {{API Command T...")
Jump to: navigation, search
Starts or stops flying.
Bot.fly(isFlying);
Reference
This command accepts the following parameters:
Variable | Required | Description
| |
---|---|---|---|
Input: | |||
isFlying | yes | true to start flying, false to stom | |
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.fly(true);
- fly