protected function editCurrentResponse(string $id, string $type, string $content, array $options = array()) {
        if(empty($this->responses[$id])) {
            $this->responses[$id] = array();
        }
        
        if(!empty($this->responses[$id])) {
            $msg = \array_shift($this->responses[$id]);
        } else {
            $msg = null;
        }
        
        return $this->editResponse($msg, $type, $content, $options);
    }
protected function editCurrentResponse(string $id, string $type, string $content, array $options = array()) {
        if(empty($this->responses[$id])) {
            $this->responses[$id] = array();
        }
        
        if(!empty($this->responses[$id])) {
            $msg = \array_shift($this->responses[$id]);
        } else {
            $msg = null;
        }
        
        return $this->editResponse($msg, $type, $content, $options);
    }
protected function editCurrentResponse ( string $ id , string $ type , string $ content , array $ options = array ( ) ) { if ( empty ( $ this -> responses [ $ id ] ) ) { $ this -> responses [ $ id ] = array ( ) ; } if ( ! empty ( $ this -> responses [ $ id ] ) ) { $ msg = \ array_shift ( $ this -> responses [ $ id ] ) ; } else { $ msg = null ; } return $ this -> editResponse ( $ msg , $ type , $ content , $ options ) ; }
Edits the current response.
@param string  $id       The ID of the channel the response is in ("DM" for direct messages).
@param string  $type
@param string  $content
@param array   $options
@return \React\Promise\ExtendedPromiseInterface
Edits the current response .