join

Name

join -- Make the bot join a channel

Synopsis

void join(string channel, [ string key ]);

Description

This function makes the bot join a given channel. If the channel is guarded by key it can be supplied using the second parameter.

Example 3-1. Joining a channel

$this->join("#wollabot");