public function close()
    {
        $this->closing = true;
        $this->ws->close(1000, 'discordphp closing...');
        $this->emit('closed', [$this]);
    }
public function close()
    {
        $this->closing = true;
        $this->ws->close(1000, 'discordphp closing...');
        $this->emit('closed', [$this]);
    }
public function close ( ) { $ this -> closing = true ; $ this -> ws -> close ( 1000 , 'discordphp closing...' ) ; $ this -> emit ( 'closed' , [ $ this ] ) ; }
Closes the Discord client.

@return void
Closes the Discord client .