joinGroup

From SmartBots Developers Docs
Bot PlaygroundCommands
Revision as of 19:57, 2 July 2016 by Phil (Talk | contribs) (Created page with "{{DISPLAYTITLE:{{SUBPAGENAME}}}} <onlyinclude>Initiates bot login sequence.</onlyinclude> <syntaxhighlight lang="javascript"> Bot.joinGroup(groupuuid); </syntaxhighlight> {{...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Initiates bot login sequence.

Bot.joinGroup(groupuuid);

Reference

This command accepts the following parameters:

Variable Required Description


Input:
groupuuid yes The UUID of the group
Output:
Function returns a Promise with the following data:
success bool true if command completed successfully
error string error string if command has failed

Comments

  • The group enrollment should be open for the bot to be able to join.
  • Group can be hidden from SL search.