void invite(string channel, string nickname);
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
Example 3-1. Inviting a user to a channel