public function addChannel($channel, $key = null)
    {
        $channel = strtolower($channel);
        $this->channels[$channel] = $key;
        return $this;
    }
public function addChannel($channel, $key = null)
    {
        $channel = strtolower($channel);
        $this->channels[$channel] = $key;
        return $this;
    }
public function addChannel ( $ channel , $ key = null ) { $ channel = strtolower ( $ channel ) ; $ this -> channels [ $ channel ] = $ key ; return $ this ; }
Add channel to auto join
@param string $channel Channel to auto join
@param null|string $key Channel password. NULL when ommited
@return $this
Add channel to auto join