src/BotsManager.php
public function disconnect($name = null)
    {
        $name = $name ?: $this->getDefaultBot();
        unset($this->bots[$name]);
    }
public function disconnect($name = null)
    {
        $name = $name ?: $this->getDefaultBot();
        unset($this->bots[$name]);
    }
public function disconnect ( $ name = null ) { $ name = $ name ? : $ this -> getDefaultBot ( ) ; unset ( $ this -> bots [ $ name ] ) ; }
Disconnect from the given bot.

@param string $name

@return void
Disconnect from the given bot .