invite
Name
invite -- Invite a user to a given channel
Synopsis
void invite
(string channel, string nickname);
Description
If a channel has set channelmode +i - you will need an invitation to join.
such one can be issued by the bot using this function. Just tell it which
channel to invite to and which nickname
to invite.
Example 3-1. Inviting a user to a channel
$this->invite("#wollabot", "razor");