regionRestartCancel
From SmartBots Developers Docs
Bot PlaygroundCommands
Revision as of 17:51, 6 October 2022 by Gg (Talk | contribs) (Created page with "{{DISPLAYTITLE:{{SUBPAGENAME}}}} <onlyinclude>Cancels pending restart of current region</onlyinclude> <syntaxhighlight lang="javascript"> Bot.regionRestart(delay); </syntaxhi...")
Jump to: navigation, search
Cancels pending restart of current region
Bot.regionRestart(delay);
Reference
This command accepts the following parameters:
| Variable | Required | Description
| |
|---|---|---|---|
| Input: | |||
| Output: | |||
| Function returns a Promise with the following data: | |||
| success | bool | true if command completed successfully | |
| error | string | error string if command has failed | |
Permissions
The bot has to be an Estate Manager of the current region.
- regionRestartCancel