Join the specified channel.
Once a user has joined a channel, he receives information about all commands his server receives affecting the channel. This includes JOIN, MODE, KICK, PART, QUIT and of course PRIVMSG/NOTICE. This allows channel members to keep track of the other channel members, as well as channel modes.
If a JOIN is successful, the user receives a JOIN message as confirmation and is then sent the channel's topic ( OnTopicRequest and the list of users who are on the channel ( OnNames ), which MUST include the user joining.
Possible ErrorsException Type | Condition |
---|---|
ArgumentException | If the channel name is not valid. |
//Most channels you will see begin with the '#'. The others are reserved //for special channels and may not even be available on a particular server. connection.Sender.Join("#thresher");
Sender Class | Sharkbite.Irc Namespace | Sender.Join Overload List | OnJoin