Contents

Support Managers

Xartashah
English
online
Aerielle Kiyori
English
offline
show offline managers  
English, Hindi, Russian  

group_eject (SBSL Command)

Have a question? Ask at SmartBots DevPortal!

DevPortal is a blog and forum for developers. Ask your questions to get a prompt reply!

Continue to DevPortal


Ejects resident from the group.

Syntax

group_eject RESIDENT-UUID GROUP-UUID

Command parameters

The following table explain the entries of the command:

Entry Description
RESIDENT-UUID the resident UUID to invite
GROUP-UUID the group UUID to invite to

Comments

The eject command is rather straightforward. Just pay attention to the group abilities of your bot: if resident is in role other than "Everyone", you need an additional abilities for your bot. Read this for details.

Examples

Ejects resident from the group on request:

instant_message {
  if $message == leave
    group_eject $speaker_uuid 0b65a122-8f77-64fe-5b2a-225d4c490d9c
  endif
}

<< return back to SBSL commands