Add a command to join a group.